# Akute Health

> Run your Akute Health practice from workflows: add, update and find patients, read their allergies and medications, book, update and cancel appointments, manage tasks, add and read clinical notes, find documents and pin sticky notes to a chart. Start a workflow when a task is added or changed, or an appointment is booked or cancelled.

App · 26 actions. Web page: https://docs.lodol.com/docs/integrations/akute-health

## Actions

### Add clinical note

Add a note to a patient's chart, such as a progress note, with its sections, author and, for a final note, who signed it.

**Inputs**

- Patient ID (`patient_id`, text, required): The patient's Akute id, from 'Search patients' or an earlier step.
- Note type (`note_type`, text, required): The kind of note, as Akute names it.
- Date of service (`service_date`, date, required): The day the care was given.
- Status (`status`, text): Preliminary (a draft) unless given. Only a final note can be signed. One of: `final` (Final (signed)), `preliminary` (Preliminary (draft)).
- Author (`author_user_id`, text, required): Who wrote the note.
- Signed by (`signed_by_user_id`, text): Who signs the note. Only for a final note.
- Sections (`sections`, object, required): Each section's title with its text, in order, for example {"Subjective": "...", "Assessment / Plan": "..."}. Wrap a text in <html></html> to format it with HTML.

**Outputs**

- `note` (object): The new note
- `note_id` (text): The new note's id

**Example output**

```json
{
  "note": {
    "authors": [
      {
        "user_id": "5d4cabd043dbf17828848635",
        "user_name": "Dr. Ana Lopez"
      }
    ],
    "external_patient_id": "crm-1234",
    "id": "4c1b2f54-c776-4312-a801-0b0768225258",
    "last_updated": "2026-12-01T17:13:01Z",
    "patient_id": "5c95344f-f6e0-46f0-a934-65358071979c",
    "sections": [
      {
        "html": "<p>Feeling better.</p>",
        "text": "Feeling better.",
        "title": "Subjective"
      }
    ],
    "service_date": "2026-12-01T00:00:00Z",
    "signed": {
      "timestamp": "2026-12-01T17:13:01Z",
      "user_id": "5d4cabd043dbf17828848635",
      "user_name": "Dr. Ana Lopez"
    },
    "status": "final",
    "type": "Progress note"
  },
  "note_id": "4c1b2f54-c776-4312-a801-0b0768225258"
}
```

### Add patient

Add a patient to Akute with their name, birth date, sex and contact details. Returns the new patient's chart details and id.

**Inputs**

- First name (`first_name`, text, required): Up to 35 characters.
- Last name (`last_name`, text, required): Up to 35 characters.
- Date of birth (`date_of_birth`, date, required): The patient's birth date.
- Sex assigned at birth (`sex`, text, required): As recorded in Akute. One of: `female`, `male`, `other`, `unknown`.
- Status (`status`, text): Active unless given. Inactive patients are hidden in Akute. One of: `active`, `inactive` (Inactive (hidden in Akute)).
- Middle name (`middle_name`, text): Up to 35 characters.
- Email (`email`, text): The patient's email address.
- Phone (`primary_phone_number`, text): A 10-digit US or Canadian number, like 4155550123.
- Phone type (`primary_phone_type`, text): What kind of number it is. Defaults to mobile when a phone is given. One of: `mobile`, `home`, `work`.
- Address line 1 (`address_line_1`, text): Up to 35 characters.
- Address line 2 (`address_line_2`, text): Up to 35 characters.
- City (`address_city`, text): Up to 35 characters.
- State (`address_state`, text): The two-letter state or territory code, such as NY.
- ZIP code (`address_zipcode`, text): Five digits, such as 10805.
- Country (`address_country`, text): United States unless given. Akute takes only the US and Canada. One of: `US` (United States), `CA` (Canada).
- State of care (`appointment_state`, text): The two-letter code of the state the patient receives care in, if not the one they live in.
- Marital status (`marital_status`, text): Their marital status. One of: `never married`, `married`, `domestic partner`, `unmarried`, `divorced`, `widowed`, `legally` (Legally separated), `interlocutory`, `annulled`, `polygamous`, `unknown`.
- Primary provider (`primary_provider_id`, text): The practitioner who is the patient's primary provider.
- External ID (`external_id`, text): Your own system's id for the patient, so 'Search patients' can find them by it.
- Tags (`tags`, list): Tags for the patient, added to the practice's patient tags.
- Custom properties (`properties`, object): The practice's custom patient properties, each name with its value, for example {"membership": "Monthly"}.

**Outputs**

- `patient` (object): The new patient
- `patient_id` (text): The new patient's id

**Example output**

```json
{
  "patient": {
    "address_city": "New Rochelle",
    "address_line_1": "98 Bayview Ave",
    "address_line_2": "",
    "address_state": "NY",
    "address_zipcode": "10805",
    "appointment_state": "NY",
    "billing": {
      "memberships": [
        {
          "company_id": null,
          "company_name": null,
          "member_type": "adult",
          "plan": "Membership",
          "plan_id": "pln-UJnsGLDYFqTQ",
          "status": "active"
        }
      ],
      "unpaid": false
    },
    "date_of_birth": "1990-03-07",
    "email": "jo@example.com",
    "external_id": "crm-1234",
    "first_name": "Jo",
    "id": "5c95344f-f6e0-46f0-a934-65358071979c",
    "last_name": "Bloggs",
    "middle_name": "A",
    "primary_phone_number": "4155550123",
    "primary_phone_type": "mobile",
    "properties": [
      {
        "name": "membership",
        "values": "Monthly"
      }
    ],
    "provider_id": "5d4cabd043dbf17828848635",
    "provider_npi": "1234777773",
    "sex": "female",
    "status": "active"
  },
  "patient_id": "5c95344f-f6e0-46f0-a934-65358071979c"
}
```

### Add sticky note

Pin a short note to a patient's chart for the care team to see.

**Inputs**

- Patient ID (`patient_id`, text, required): The patient's Akute id, from 'Search patients' or an earlier step.
- Text (`text`, text, required): What the sticky note says.

**Outputs**

- `sticky_note` (object): The sticky note

**Example output**

```json
{
  "sticky_note": {
    "created_by": "5d4cabd043dbf17828848635",
    "date_created": "2026-12-01T21:52:44.000Z",
    "id": "60f1ffacf93f54256c045806",
    "last_updated": "2026-12-01T21:52:44.000Z",
    "status": "active",
    "text": "Prefers morning appointments.",
    "updated_by": null
  }
}
```

### Add task

Add a task to the practice's task list, optionally about a patient, assigned to someone, with a due date, priority and tags.

**Inputs**

- Task (`task`, text, required): What needs doing, as it shows in the task list.
- Details (`description`, text): More about the task. HTML is allowed.
- Due date (`due_date`, date): When it is due.
- Owner (`owner_id`, text): Who the task is assigned to.
- Patient ID (`patient_id`, text): The patient the task is about (their Akute id).
- Priority (`priority`, text): How urgent it is. One of: `p1` (P1 (highest)), `p2`, `p3` (P3 (lowest)).
- Status (`status`, text): Not started unless given. One of: `not-started` (Not started), `in-progress` (In progress), `completed`.
- Tags (`tags`, list): Tags to find the task by, such as PA or Fax.

**Outputs**

- `task` (object): The new task
- `task_id` (text): The new task's id

**Example output**

```json
{
  "task": {
    "activity": [
      {
        "initial_commit": true,
        "timestamp": "2026-12-01T05:59:11.000Z",
        "user_id": null
      }
    ],
    "archived": false,
    "attachments": [],
    "comments": [],
    "completed_date": null,
    "completed_user_id": null,
    "date_created": "2026-12-01T05:59:11.000Z",
    "description": "",
    "due_date": "2026-12-05",
    "id": "644f552f0f1d476da33c02a0",
    "last_updated": "2026-12-01T05:59:11.000Z",
    "owner_id": "5d4cabd043dbf17828848635",
    "owner_name": "Ana Lopez",
    "patient_id": "5c95344f-f6e0-46f0-a934-65358071979c",
    "priority": "p1",
    "status": "not-started",
    "tags": [
      "Labs"
    ],
    "task": "Call patient about lab results"
  },
  "task_id": "644f552f0f1d476da33c02a0"
}
```

### Book appointment

Book an appointment for a patient with a practitioner, in person or by video, and optionally email them both.

**Inputs**

- Patient ID (`patient_id`, text, required): The patient's Akute id, from 'Search patients' or an earlier step.
- Practitioner (`practitioner_user_id`, text, required): Who the patient sees.
- Start (`start_time`, date and time, required): When the appointment starts.
- End (`end_time`, date and time, required): When the appointment ends.
- Description (`description`, text): What the appointment is for.
- Status (`status`, text): Booked unless given. One of: `booked`, `arrived`, `checked-in` (Checked in), `fulfilled` (Fulfilled (completed)), `noshow` (No-show), `cancelled`, `entered-in-error` (Entered in error).
- Video visit (`video_visit`, true/false): Whether the appointment is by video.
- Video system (`video_system`, text): For a video visit: the system Akute makes the call link with, unless a video link is given. One of: `Akute` (Akute video), `Zoom`.
- Video link (`video_url`, text): For a video visit on another system: the https:// link to join.
- Location ID (`location_id`, text): For an in-person visit at a practice with several locations: the location's id from Akute. Ignored for a video visit.
- Email the patient (`send_email`, true/false): Email the patient about the appointment now. Off unless turned on.
- Email subject (`email_subject`, text): Your own subject for that email, instead of 'New Appointment at' your practice.
- Email message (`email_body`, text): Your own message for that email (HTML is allowed), instead of the standard one.
- Email the practitioner (`send_practitioner_email`, true/false): Email the practitioner about the new appointment.

**Outputs**

- `appointment` (object): The new appointment
- `appointment_id` (text): The new appointment's id

**Example output**

```json
{
  "appointment": {
    "appointment_type_id": "5d50f8203cc466a8662aa61a",
    "appointment_type_name": "Follow Up",
    "description": "Follow-up visit",
    "end_time": "2026-12-04T15:30:00.000Z",
    "external_patient_id": null,
    "id": "a1f59a5d-6cb8-48c2-b38d-1dd9d5c283fb",
    "patient_id": "5c95344f-f6e0-46f0-a934-65358071979c",
    "practitioner_user_id": "5d4cabd043dbf17828848635",
    "start_time": "2026-12-04T15:00:00.000Z",
    "status": "booked",
    "video_url": "https://virtualvisit.akutehealth.com/room/a1f59a5d"
  },
  "appointment_id": "a1f59a5d-6cb8-48c2-b38d-1dd9d5c283fb"
}
```

### Cancel appointment

Cancel an appointment, or mark it as entered in error.

**Inputs**

- Appointment ID (`appointment_id`, text, required): The appointment's id, from 'Search appointments' or an earlier step.
- Mark as (`status`, text): Cancelled unless given. One of: `cancelled`, `entered-in-error` (Entered in error).

**Outputs**

- `appointment` (object): The appointment

**Example output**

```json
{
  "appointment": {
    "appointment_type_id": "5d50f8203cc466a8662aa61a",
    "appointment_type_name": "Follow Up",
    "description": "Follow-up visit",
    "end_time": "2026-12-04T15:30:00.000Z",
    "external_patient_id": null,
    "id": "a1f59a5d-6cb8-48c2-b38d-1dd9d5c283fb",
    "patient_id": "5c95344f-f6e0-46f0-a934-65358071979c",
    "practitioner_user_id": "5d4cabd043dbf17828848635",
    "start_time": "2026-12-04T15:00:00.000Z",
    "status": "cancelled",
    "video_url": "https://virtualvisit.akutehealth.com/room/a1f59a5d"
  }
}
```

### Delete sticky note

Remove a sticky note from a patient's chart.

**Inputs**

- Sticky note ID (`sticky_note_id`, text, required): The sticky note's id, from 'List sticky notes' or an earlier step.

**Outputs**

- `deleted` (true/false): Always true once deleted
- `sticky_note_id` (text): The sticky note deleted

**Example output**

```json
{
  "deleted": true,
  "sticky_note_id": "60f1ffacf93f54256c045806"
}
```

### Get appointment

Get one appointment with its time, status, patient, practitioner and video link.

**Inputs**

- Appointment ID (`appointment_id`, text, required): The appointment's id, from 'Search appointments' or an earlier step.

**Outputs**

- `appointment` (object): The appointment

**Example output**

```json
{
  "appointment": {
    "appointment_type_id": "5d50f8203cc466a8662aa61a",
    "appointment_type_name": "Follow Up",
    "description": "Follow-up visit",
    "end_time": "2026-12-04T15:30:00.000Z",
    "external_patient_id": null,
    "id": "a1f59a5d-6cb8-48c2-b38d-1dd9d5c283fb",
    "patient_id": "5c95344f-f6e0-46f0-a934-65358071979c",
    "practitioner_user_id": "5d4cabd043dbf17828848635",
    "start_time": "2026-12-04T15:00:00.000Z",
    "status": "booked",
    "video_url": "https://virtualvisit.akutehealth.com/room/a1f59a5d"
  }
}
```

### Get clinical note

Get one clinical note with its sections, authors and signature.

**Inputs**

- Note ID (`note_id`, text, required): The note's id, from 'Search clinical notes' or an earlier step.

**Outputs**

- `note` (object): The note

**Example output**

```json
{
  "note": {
    "authors": [
      {
        "user_id": "5d4cabd043dbf17828848635",
        "user_name": "Dr. Ana Lopez"
      }
    ],
    "external_patient_id": "crm-1234",
    "id": "4c1b2f54-c776-4312-a801-0b0768225258",
    "last_updated": "2026-12-01T17:13:01Z",
    "patient_id": "5c95344f-f6e0-46f0-a934-65358071979c",
    "sections": [
      {
        "html": "<p>Feeling better.</p>",
        "text": "Feeling better.",
        "title": "Subjective"
      }
    ],
    "service_date": "2026-12-01T00:00:00Z",
    "signed": {
      "timestamp": "2026-12-01T17:13:01Z",
      "user_id": "5d4cabd043dbf17828848635",
      "user_name": "Dr. Ana Lopez"
    },
    "status": "final",
    "type": "Progress note"
  }
}
```

### Get document

Get one document's name, patient and tags, with a link to download it.

**Inputs**

- Document ID (`document_id`, text, required): The document's id, from 'Search documents' or an earlier step.

**Outputs**

- `document` (object): The document

**Example output**

```json
{
  "document": {
    "created_at": "2026-11-17T03:12:28-05:00",
    "external_patient_id": "crm-1234",
    "file_name": "Lab result 2026-11-17",
    "id": "5ef067eceb207dd569fd93a5",
    "last_updated": "2026-11-17T03:12:27-05:00",
    "patient_id": "5c95344f-f6e0-46f0-a934-65358071979c",
    "tags": [],
    "url": "https://storage.googleapis.com/akute-ehr-documents/example"
  }
}
```

### Get patient

Get one patient's demographics, contact details, primary provider and memberships.

**Inputs**

- Patient ID (`patient_id`, text, required): The patient's Akute id, from 'Search patients' or an earlier step.

**Outputs**

- `patient` (object): The patient

**Example output**

```json
{
  "patient": {
    "address_city": "New Rochelle",
    "address_line_1": "98 Bayview Ave",
    "address_line_2": "",
    "address_state": "NY",
    "address_zipcode": "10805",
    "appointment_state": "NY",
    "billing": {
      "memberships": [
        {
          "company_id": null,
          "company_name": null,
          "member_type": "adult",
          "plan": "Membership",
          "plan_id": "pln-UJnsGLDYFqTQ",
          "status": "active"
        }
      ],
      "unpaid": false
    },
    "date_of_birth": "1990-03-07",
    "email": "jo@example.com",
    "external_id": "crm-1234",
    "first_name": "Jo",
    "id": "5c95344f-f6e0-46f0-a934-65358071979c",
    "last_name": "Bloggs",
    "middle_name": "A",
    "primary_phone_number": "4155550123",
    "primary_phone_type": "mobile",
    "properties": [
      {
        "name": "membership",
        "values": "Monthly"
      }
    ],
    "provider_id": "5d4cabd043dbf17828848635",
    "provider_npi": "1234777773",
    "sex": "female",
    "status": "active"
  }
}
```

### Get task

Get one task with its status, owner, patient, tags, attachments and activity.

**Inputs**

- Task ID (`task_id`, text, required): The task's id, from 'Search tasks' or an earlier step.

**Outputs**

- `task` (object): The task

**Example output**

```json
{
  "task": {
    "activity": [
      {
        "initial_commit": true,
        "timestamp": "2026-12-01T05:59:11.000Z",
        "user_id": null
      }
    ],
    "archived": false,
    "attachments": [],
    "comments": [],
    "completed_date": null,
    "completed_user_id": null,
    "date_created": "2026-12-01T05:59:11.000Z",
    "description": "",
    "due_date": "2026-12-05",
    "id": "644f552f0f1d476da33c02a0",
    "last_updated": "2026-12-01T05:59:11.000Z",
    "owner_id": "5d4cabd043dbf17828848635",
    "owner_name": "Ana Lopez",
    "patient_id": "5c95344f-f6e0-46f0-a934-65358071979c",
    "priority": "p1",
    "status": "not-started",
    "tags": [
      "Labs"
    ],
    "task": "Call patient about lab results"
  }
}
```

### List appointment types

List the practice's appointment types with their length, notice, video setting and practitioners.

**Inputs**: None.

**Outputs**

- `appointment_types` (list): The appointment types
- `count` (number): How many were returned

**Example output**

```json
{
  "appointment_types": [
    {
      "archived": false,
      "available_to_existing_patients": true,
      "available_to_new_patients": false,
      "description": "A 30-minute follow-up.",
      "duration": 30,
      "frequency": 60,
      "id": "5d50f8203cc466a8662aa61a",
      "minimum_notice": 2880,
      "name": "Follow Up",
      "practitioner_user_ids": [
        "5d4cabd043dbf17828848635"
      ],
      "timezone": "America/Chicago",
      "video_visit": true
    }
  ],
  "count": 1
}
```

### List patient allergies

List a patient's allergies and intolerances, with each reaction and whether it is active.

**Inputs**

- Patient ID (`patient_id`, text, required): The patient's Akute id, from 'Search patients' or an earlier step.

**Outputs**

- `allergies` (list): The allergies
- `count` (number): How many were returned

**Example output**

```json
{
  "allergies": [
    {
      "clinical_status": "active",
      "external_patient_id": "crm-1234",
      "name": "Amoxicillin",
      "onset_date": null,
      "patient_id": "5c95344f-f6e0-46f0-a934-65358071979c",
      "reaction": "Rash",
      "type": "allergy"
    }
  ],
  "count": 1
}
```

### List patient medications

List a patient's medications and prescriptions, with directions, refills, prescriber and status, optionally within a date range.

**Inputs**

- Patient ID (`patient_id`, text, required): The patient's Akute id, from 'Search patients' or an earlier step.
- From (`start_date`, date): Only medications from this date on.
- Until (`end_date`, date): Only medications up to this date.

**Outputs**

- `count` (number): How many were returned
- `medications` (list): The medications

**Example output**

```json
{
  "count": 1,
  "medications": [
    {
      "date_added": "2026-05-31T17:20:47.45",
      "date_inactive": null,
      "days_supply": 30,
      "diagnoses": [
        {
          "primary_diagnosis": {
            "code": "K21.0",
            "description": "Gastro-esophageal reflux disease with esophagitis"
          },
          "secondary_diagnosis": null
        }
      ],
      "directions": "1 with breakfast.",
      "dispense_unit_description": "Tablet(s)",
      "display_name": "Pantoprazole 40 mg delayed release tablet",
      "effective_date": "2026-05-31",
      "external_patient_id": "crm-1234",
      "fill_date": null,
      "generic_name": "pantoprazole",
      "ndc": "00378668910",
      "otc": false,
      "patient_id": "5c95344f-f6e0-46f0-a934-65358071979c",
      "pharmacy_id": 14973,
      "pharmacy_notes": null,
      "prescriber_id": "5d4cabd043dbf17828848635",
      "prescriber_name": "Dr. Ana Lopez",
      "prescription_id": 59490577,
      "quantity": "30",
      "refills": "3",
      "rx_cui": "314200",
      "rx_status": "pharmacy verified",
      "status": "active",
      "strength": "40 mg",
      "substitutions_allowed": true
    }
  ]
}
```

### List sticky notes

List the sticky notes on a patient's chart.

**Inputs**

- Patient ID (`patient_id`, text, required): The patient's Akute id, from 'Search patients' or an earlier step.

**Outputs**

- `count` (number): How many were returned
- `sticky_notes` (list): The sticky notes

**Example output**

```json
{
  "count": 1,
  "sticky_notes": [
    {
      "created_by": "5d4cabd043dbf17828848635",
      "date_created": "2026-12-01T21:52:44.000Z",
      "id": "60f1ffacf93f54256c045806",
      "last_updated": "2026-12-01T21:52:44.000Z",
      "status": "active",
      "text": "Prefers morning appointments.",
      "updated_by": null
    }
  ]
}
```

### List users

List the practice's users with their email, NPI and roles, such as Practitioner or Prescriber.

**Inputs**: None.

**Outputs**

- `count` (number): How many were returned
- `users` (list): The users

**Example output**

```json
{
  "count": 1,
  "users": [
    {
      "dea": "",
      "dob": "1984-01-12",
      "email": "ana@example.com",
      "first_name": "Ana",
      "id": "5d4cabd043dbf17828848635",
      "last_name": "Lopez",
      "licenses": [],
      "npi": "1396782371",
      "roles": [
        "Practitioner",
        "Prescriber"
      ]
    }
  ]
}
```

### Search appointments

Find appointments starting in a time window, for a patient or practitioner, or with a status.

**Inputs**

- Patient ID (`patient_id`, text): Only this patient's appointments (their Akute id).
- Practitioner (`practitioner_user_id`, text): Only this practitioner's appointments.
- Starting from (`start_range`, date and time): Only appointments starting at or after this.
- Starting until (`end_range`, date and time): Only appointments starting at or before this.
- Status (`status`, text): Only appointments with this status. One of: `booked`, `arrived`, `checked-in` (Checked in), `fulfilled` (Fulfilled (completed)), `noshow` (No-show), `cancelled`, `entered-in-error` (Entered in error).

**Outputs**

- `appointments` (list): The appointments
- `count` (number): How many were returned

**Example output**

```json
{
  "appointments": [
    {
      "appointment_type_id": "5d50f8203cc466a8662aa61a",
      "appointment_type_name": "Follow Up",
      "description": "Follow-up visit",
      "end_time": "2026-12-04T15:30:00.000Z",
      "external_patient_id": null,
      "id": "a1f59a5d-6cb8-48c2-b38d-1dd9d5c283fb",
      "patient_id": "5c95344f-f6e0-46f0-a934-65358071979c",
      "practitioner_user_id": "5d4cabd043dbf17828848635",
      "start_time": "2026-12-04T15:00:00.000Z",
      "status": "booked",
      "video_url": "https://virtualvisit.akutehealth.com/room/a1f59a5d"
    }
  ],
  "count": 1
}
```

### Search clinical notes

List a patient's clinical notes, up to 10 at a time, optionally from a date of service or with a status.

**Inputs**

- Patient ID (`patient_id`, text, required): The patient's Akute id, from 'Search patients' or an earlier step.
- From date of service (`service_date_start`, date): Only notes for care given on or after this day.
- Status (`status`, text): Only notes with this status. Notes entered in error are left out unless asked for. One of: `final`, `preliminary`, `amended`, `entered-in-error` (Entered in error).
- Page size (`limit`, number): How many to return, 1 to 10. Defaults to 10, Akute's most. From 1 to 10.
- Skip (`offset`, number): How many to skip, to get the next page. Starts at 0. At least 0.

**Outputs**

- `count` (number): How many were returned
- `notes` (list): The notes

**Example output**

```json
{
  "count": 1,
  "notes": [
    {
      "authors": [
        {
          "user_id": "5d4cabd043dbf17828848635",
          "user_name": "Dr. Ana Lopez"
        }
      ],
      "external_patient_id": "crm-1234",
      "id": "4c1b2f54-c776-4312-a801-0b0768225258",
      "last_updated": "2026-12-01T17:13:01Z",
      "patient_id": "5c95344f-f6e0-46f0-a934-65358071979c",
      "sections": [
        {
          "html": "<p>Feeling better.</p>",
          "text": "Feeling better.",
          "title": "Subjective"
        }
      ],
      "service_date": "2026-12-01T00:00:00Z",
      "signed": {
        "timestamp": "2026-12-01T17:13:01Z",
        "user_id": "5d4cabd043dbf17828848635",
        "user_name": "Dr. Ana Lopez"
      },
      "status": "final",
      "type": "Progress note"
    }
  ]
}
```

### Search documents

List the documents on a patient's chart, or those not filed to a patient yet, each with a link to download it.

**Inputs**

- Patient ID (`patient_id`, text): Only documents on this patient's chart (their Akute id).
- Not on a chart (`no_patient`, true/false): Only documents not yet filed to a patient, such as incoming faxes.
- Order (`sort`, text): Which come first. One of: `created_at:desc` (Newest first), `created_at:asc` (Oldest first), `last_updated:desc` (Recently updated first), `last_updated:asc` (Least recently updated first).
- Page size (`limit`, number): How many to return, 1 to 100. Defaults to 100. From 1 to 100.
- Skip (`offset`, number): How many to skip, to get the next page. Starts at 0. At least 0.

**Outputs**

- `count` (number): How many were returned
- `documents` (list): The documents

**Example output**

```json
{
  "count": 1,
  "documents": [
    {
      "created_at": "2026-11-17T03:12:28-05:00",
      "external_patient_id": "crm-1234",
      "file_name": "Lab result 2026-11-17",
      "id": "5ef067eceb207dd569fd93a5",
      "last_updated": "2026-11-17T03:12:27-05:00",
      "patient_id": "5c95344f-f6e0-46f0-a934-65358071979c",
      "tags": [],
      "url": "https://storage.googleapis.com/akute-ehr-documents/example"
    }
  ]
}
```

### Search patients

Find patients by name, email, phone, birth date, location or your own system's id. Gets one page; to see more, run it again skipping the ones you have.

**Inputs**

- First name (`first_name`, text): Patients whose first name starts with this.
- Last name (`last_name`, text): Patients whose last name starts with this.
- Email (`email`, text): Patients with this email address.
- Phone (`primary_phone_number`, text): Patients with this 10-digit number.
- Date of birth (`date_of_birth`, date): Patients born on this day.
- Sex assigned at birth (`sex`, text): Only this sex. One of: `female`, `male`, `other`, `unknown`.
- Status (`status`, text): Only active or only inactive patients. One of: `active`, `inactive` (Inactive (hidden in Akute)).
- State of care (`appointment_state`, text): Two-letter code, such as TX.
- State (`address_state`, text): Patients living in this state, such as TX.
- ZIP code (`address_zipcode`, text): Patients with this ZIP code.
- External ID (`external_id`, text): The id your own system gave the patient when they were added.
- Page size (`limit`, number): How many to return, 1 to 100. Defaults to 100. From 1 to 100.
- Skip (`offset`, number): How many to skip, to get the next page. Starts at 0. At least 0.

**Outputs**

- `count` (number): How many were returned
- `patients` (list): The patients found
- `total` (number): How many match, on every page

**Example output**

```json
{
  "count": 1,
  "patients": [
    {
      "address_city": "New Rochelle",
      "address_line_1": "98 Bayview Ave",
      "address_line_2": "",
      "address_state": "NY",
      "address_zipcode": "10805",
      "appointment_state": "NY",
      "billing": {
        "memberships": [
          {
            "company_id": null,
            "company_name": null,
            "member_type": "adult",
            "plan": "Membership",
            "plan_id": "pln-UJnsGLDYFqTQ",
            "status": "active"
          }
        ],
        "unpaid": false
      },
      "date_of_birth": "1990-03-07",
      "email": "jo@example.com",
      "external_id": "crm-1234",
      "first_name": "Jo",
      "id": "5c95344f-f6e0-46f0-a934-65358071979c",
      "last_name": "Bloggs",
      "middle_name": "A",
      "primary_phone_number": "4155550123",
      "primary_phone_type": "mobile",
      "properties": [
        {
          "name": "membership",
          "values": "Monthly"
        }
      ],
      "provider_id": "5d4cabd043dbf17828848635",
      "provider_npi": "1234777773",
      "sex": "female",
      "status": "active"
    }
  ],
  "total": 1
}
```

### Search tasks

Find tasks by patient, owner, status, priority, tags, or due, created or changed dates. Gets one page; to see more, run it again skipping the ones you have.

**Inputs**

- Patient ID (`patient_id`, text): Only tasks about this patient (their Akute id).
- Owner (`owner_id`, text): Only tasks assigned to this person.
- Statuses (`status`, list): Only tasks with one of these statuses. One or more of: `not-started` (Not started), `in-progress` (In progress), `completed`.
- Priority (`priority`, text): Only this priority. One of: `p1` (P1 (highest)), `p2`, `p3` (P3 (lowest)).
- Tags (`tags`, list): Only tasks with one of these tags.
- Due from (`due_date_start`, date): Only tasks due on or after this date.
- Due until (`due_date_end`, date): Only tasks due on or before this date.
- Created from (`created_start`, date): Only tasks added on or after this date.
- Created until (`created_end`, date): Only tasks added on or before this date.
- Changed from (`updated_start`, date): Only tasks changed on or after this date.
- Changed until (`updated_end`, date): Only tasks changed on or before this date.
- Archived (`archived`, true/false): On for only archived tasks, off for only tasks still open. Leave unset for Akute's default.
- Page size (`limit`, number): How many to return, 1 to 100. Defaults to 100. From 1 to 100.
- Skip (`offset`, number): How many to skip, to get the next page. Starts at 0. At least 0.

**Outputs**

- `count` (number): How many were returned
- `tasks` (list): The tasks found

**Example output**

```json
{
  "count": 1,
  "tasks": [
    {
      "activity": [
        {
          "initial_commit": true,
          "timestamp": "2026-12-01T05:59:11.000Z",
          "user_id": null
        }
      ],
      "archived": false,
      "attachments": [],
      "comments": [],
      "completed_date": null,
      "completed_user_id": null,
      "date_created": "2026-12-01T05:59:11.000Z",
      "description": "",
      "due_date": "2026-12-05",
      "id": "644f552f0f1d476da33c02a0",
      "last_updated": "2026-12-01T05:59:11.000Z",
      "owner_id": "5d4cabd043dbf17828848635",
      "owner_name": "Ana Lopez",
      "patient_id": "5c95344f-f6e0-46f0-a934-65358071979c",
      "priority": "p1",
      "status": "not-started",
      "tags": [
        "Labs"
      ],
      "task": "Call patient about lab results"
    }
  ]
}
```

### Update appointment

Move an appointment, change its description or video details, or set its status, such as arrived, checked in or fulfilled.

**Inputs**

- Appointment ID (`appointment_id`, text, required): The appointment's id, from 'Search appointments' or an earlier step.
- Start (`start_time`, date and time): A new start time. Leave empty to keep it.
- End (`end_time`, date and time): A new end time. Leave empty to keep it.
- Description (`description`, text): A new description. Leave empty to keep it.
- Status (`status`, text): A new status, such as arrived or fulfilled. Leave empty to keep it. One of: `booked`, `arrived`, `checked-in` (Checked in), `fulfilled` (Fulfilled (completed)), `noshow` (No-show), `cancelled`, `entered-in-error` (Entered in error).
- Video visit (`video_visit`, true/false): Whether the appointment is by video.
- Video system (`video_system`, text): For a video visit: the system Akute makes the call link with, unless a video link is given. One of: `Akute` (Akute video), `Zoom`.
- Video link (`video_url`, text): For a video visit on another system: the https:// link to join.

**Outputs**

- `appointment` (object): The appointment

**Example output**

```json
{
  "appointment": {
    "appointment_type_id": "5d50f8203cc466a8662aa61a",
    "appointment_type_name": "Follow Up",
    "description": "Follow-up visit",
    "end_time": "2026-12-04T15:30:00.000Z",
    "external_patient_id": null,
    "id": "a1f59a5d-6cb8-48c2-b38d-1dd9d5c283fb",
    "patient_id": "5c95344f-f6e0-46f0-a934-65358071979c",
    "practitioner_user_id": "5d4cabd043dbf17828848635",
    "start_time": "2026-12-04T15:00:00.000Z",
    "status": "arrived",
    "video_url": "https://virtualvisit.akutehealth.com/room/a1f59a5d"
  }
}
```

### Update patient

Change a patient's details, status, primary provider or custom properties. Only the fields given change.

**Inputs**

- Patient ID (`patient_id`, text, required): The patient's Akute id, from 'Search patients' or an earlier step.
- First name (`first_name`, text): A new first name. Leave empty to keep it.
- Last name (`last_name`, text): A new last name. Leave empty to keep it.
- Date of birth (`date_of_birth`, date): Leave empty to keep it.
- Sex assigned at birth (`sex`, text): Leave empty to keep it. One of: `female`, `male`, `other`, `unknown`.
- Status (`status`, text): Make the patient active or inactive (hidden in Akute). Leave empty to keep it. One of: `active`, `inactive` (Inactive (hidden in Akute)).
- Middle name (`middle_name`, text): Up to 35 characters. Leave empty to keep it.
- Email (`email`, text): The patient's email address. Leave empty to keep it.
- Phone (`primary_phone_number`, text): A 10-digit US or Canadian number, like 4155550123. Leave empty to keep it.
- Phone type (`primary_phone_type`, text): What kind of number it is. Defaults to mobile when a phone is given. One of: `mobile`, `home`, `work`.
- Address line 1 (`address_line_1`, text): Up to 35 characters. Leave empty to keep it.
- Address line 2 (`address_line_2`, text): Up to 35 characters. Leave empty to keep it.
- City (`address_city`, text): Up to 35 characters. Leave empty to keep it.
- State (`address_state`, text): The two-letter state or territory code, such as NY. Leave empty to keep it.
- ZIP code (`address_zipcode`, text): Five digits, such as 10805. Leave empty to keep it.
- Country (`address_country`, text): United States unless given. Akute takes only the US and Canada. One of: `US` (United States), `CA` (Canada).
- State of care (`appointment_state`, text): The two-letter code of the state the patient receives care in, if not the one they live in. Leave empty to keep it.
- Marital status (`marital_status`, text): Their marital status. Leave empty to keep it. One of: `never married`, `married`, `domestic partner`, `unmarried`, `divorced`, `widowed`, `legally` (Legally separated), `interlocutory`, `annulled`, `polygamous`, `unknown`.
- Primary provider (`primary_provider_id`, text): The practitioner who is the patient's primary provider. Leave empty to keep it.
- External ID (`external_id`, text): Your own system's id for the patient, so 'Search patients' can find them by it. Leave empty to keep it.
- Tags (`tags`, list): Tags for the patient, added to the practice's patient tags. Replaces their tags.
- Custom properties (`properties`, object): The practice's custom patient properties, each name with its value, for example {"membership": "Monthly"}.

**Outputs**

- `patient` (object): The patient

**Example output**

```json
{
  "patient": {
    "address_city": "New Rochelle",
    "address_line_1": "98 Bayview Ave",
    "address_line_2": "",
    "address_state": "NY",
    "address_zipcode": "10805",
    "appointment_state": "NY",
    "billing": {
      "memberships": [
        {
          "company_id": null,
          "company_name": null,
          "member_type": "adult",
          "plan": "Membership",
          "plan_id": "pln-UJnsGLDYFqTQ",
          "status": "active"
        }
      ],
      "unpaid": false
    },
    "date_of_birth": "1990-03-07",
    "email": "jo@example.com",
    "external_id": "crm-1234",
    "first_name": "Jo",
    "id": "5c95344f-f6e0-46f0-a934-65358071979c",
    "last_name": "Bloggs",
    "middle_name": "A",
    "primary_phone_number": "4155550123",
    "primary_phone_type": "mobile",
    "properties": [
      {
        "name": "membership",
        "values": "Monthly"
      }
    ],
    "provider_id": "5d4cabd043dbf17828848635",
    "provider_npi": "1234777773",
    "sex": "female",
    "status": "active"
  }
}
```

### Update sticky note

Change the text of a sticky note.

**Inputs**

- Sticky note ID (`sticky_note_id`, text, required): The sticky note's id, from 'List sticky notes' or an earlier step.
- Text (`text`, text, required): What the sticky note says.

**Outputs**

- `sticky_note` (object): The sticky note

**Example output**

```json
{
  "sticky_note": {
    "created_by": "5d4cabd043dbf17828848635",
    "date_created": "2026-12-01T21:52:44.000Z",
    "id": "60f1ffacf93f54256c045806",
    "last_updated": "2026-12-01T21:52:44.000Z",
    "status": "active",
    "text": "Prefers morning appointments.",
    "updated_by": null
  }
}
```

### Update task

Change a task's wording, owner, due date, priority or status, or archive it. Only the fields given change.

**Inputs**

- Task ID (`task_id`, text, required): The task's id, from 'Search tasks' or an earlier step.
- Task (`task`, text): New wording for the task. Leave empty to keep it.
- Details (`description`, text): New details. Leave empty to keep them.
- Due date (`due_date`, date): A new due date. Leave empty to keep it.
- Owner (`owner_id`, text): Assign it to someone else. Leave empty to keep it.
- Priority (`priority`, text): A new priority. Leave empty to keep it. One of: `p1` (P1 (highest)), `p2`, `p3` (P3 (lowest)).
- Status (`status`, text): A new status. Leave empty to keep it. One of: `not-started` (Not started), `in-progress` (In progress), `completed`.
- Archived (`archived`, true/false): On archives the task; off brings an archived task back.

**Outputs**

- `task` (object): The task

**Example output**

```json
{
  "task": {
    "activity": [
      {
        "initial_commit": true,
        "timestamp": "2026-12-01T05:59:11.000Z",
        "user_id": null
      }
    ],
    "archived": false,
    "attachments": [],
    "comments": [],
    "completed_date": null,
    "completed_user_id": null,
    "date_created": "2026-12-01T05:59:11.000Z",
    "description": "",
    "due_date": "2026-12-05",
    "id": "644f552f0f1d476da33c02a0",
    "last_updated": "2026-12-01T05:59:11.000Z",
    "owner_id": "5d4cabd043dbf17828848635",
    "owner_name": "Ana Lopez",
    "patient_id": "5c95344f-f6e0-46f0-a934-65358071979c",
    "priority": "p1",
    "status": "in-progress",
    "tags": [
      "Labs"
    ],
    "task": "Call patient about lab results"
  }
}
```
