For the complete documentation index, see llms.txt. This page is also available as Markdown.

Task Management

Base URL: https://api.welkinhealth.com/{tenantName}/{instanceName}/tasks

Tasks are action items assigned to care team members. They can be linked to patients, encounters, or programs.


Create Task

POST /tasks

Creates a new task and assigns it to a care team member.

Request Body

Field
Type
Required
Description

title

string

Yes

Short title of the task

description

string

No

Detailed description

assigneeId

string

Yes

User ID of the assignee

patientId

string

No

Associated patient ID

encounterId

string

No

Associated encounter ID

dueDate

string (YYYY-MM-DD)

No

Task due date

priority

string

No

HIGH, MEDIUM, LOW (default: MEDIUM)

taskType

string

No

GENERAL, FOLLOW_UP, CLINICAL

Example Request

POST /acme/live/tasks
Authorization: Bearer {token}
Content-Type: application/json

{
  "title": "Follow up on lab results",
  "description": "Review CBC results and call patient",
  "assigneeId": "usr_3f8a1b2c-4d5e-6f7a-8b9c-0d1e2f3a4b5c",
  "patientId": "pt_7f3a9b2c-1d4e-4f8a-b5c6-d7e8f9a0b1c2",
  "dueDate": "2026-03-25",
  "priority": "HIGH",
  "taskType": "FOLLOW_UP"
}

Example Response


Get All Tasks

GET /tasks

Returns a paginated list of tasks. Can be filtered by patient, assignee, status, and more.

Query Parameters

Parameter
Type
Description

patientId

string

Filter by associated patient

assigneeId

string

Filter by assignee user ID

status

string

OPEN, IN_PROGRESS, COMPLETED, CANCELLED

priority

string

HIGH, MEDIUM, LOW

dueDate

string

Filter tasks due on this date (YYYY-MM-DD)

page

integer

Page number (default: 0)

size

integer

Page size (default: 20, max: 100)

Example Request

Example Response


Get Task by ID

GET /tasks/{taskId}

Returns a single task by its ID.

Path Parameters

Parameter
Type
Description

taskId

string

The unique task ID

Example Request

Example Response


Update Task

PATCH /tasks/{taskId}

Updates a task. Only include fields you want to change.

Path Parameters

Parameter
Type
Description

taskId

string

The unique task ID

Request Body

Field
Type
Description

title

string

Updated title

description

string

Updated description

status

string

OPEN, IN_PROGRESS, COMPLETED, CANCELLED

priority

string

HIGH, MEDIUM, LOW

assigneeId

string

Reassign to a different user

dueDate

string

Updated due date (YYYY-MM-DD)

Example Request

Example Response


Delete Task

DELETE /tasks/{taskId}

Permanently deletes a task.

Path Parameters

Parameter
Type
Description

taskId

string

The unique task ID

Example Request

Example Response

Last updated

Was this helpful?