/v1/human_tasksList HumanTasks
Returns HumanTasks in the Organization's staff task queue. Filter by Patient, assigned StaffMember, or Document. Each HumanTask includes its Comments. Results are newest first.
Required API scopes: human_tasks.read
Parameters
patient_id
query
string
Return HumanTasks associated with this Patient.
staff_member_id
query
string
Return HumanTasks assigned to this StaffMember. Look up identifiers with
GET /v1/staff_members.document_id
query
string
Return HumanTasks associated with this Document, for example a Letter, TestResult, Photo, or BookingForm.
is_completed
query
boolean
When
true, return only completed HumanTasks. Whenfalse, return only open HumanTasks.limit
query
integer
The maximum number of items to return. Defaults to
25; the maximum is100.starting_after
query
string
Return items after this resource ID. You cannot use this with
cursor.cursor
query
string
The
next_cursorvalue from the previous page. You cannot use this withstarting_after.
Responses
Paginated list of HumanTask objects.
dataarrayrequireditemsobjectassigneesarrayrequiredThe people assigned to the HumanTask. Currently only
staff_memberis supported.itemsobjectassignee_idstring · uuidrequiredThe identifier of the assignee. For
staff_member, use an identifier fromGET /v1/staff_members.assignee_typestringrequiredThe type of assignee. Currently only
staff_memberis supported.Allowed values:
staff_member
commentsarrayrequiredComments on the HumanTask, oldest first. Discarded Comments are omitted.
itemsobjectcontentstringrequiredThe sanitized comment text.
created_atstring · date-timerequiredAn ISO 8601 timestamp in UTC, with a
Zsuffix. For example,2026-07-01T09:00:00Z.created_by_staff_member_idstring | null · uuidrequiredThe StaffMember who wrote the Comment in Carebit. Null when the Comment was created through the API.
human_task_idstring · uuidrequiredThe HumanTask this Comment belongs to.
idstring · uuidrequiredThe resource's unique identifier, formatted as an RFC 4122 version 4 UUID.
linksobjectrequiredURLs to related resources.
created_by_staff_memberstring | null · urirequiredThe full URL of a related resource.
human_taskstring · urirequiredThe full URL of a related resource.
objectanyrequiredDiscriminator value emitted at
object.updated_atstring · date-timerequiredAn ISO 8601 timestamp in UTC, with a
Zsuffix. For example,2026-07-01T09:00:00Z.
completed_atstring | null · date-timerequiredAn ISO 8601 timestamp in UTC, with a
Zsuffix. For example,2026-07-01T09:00:00Z.completed_by_staff_member_idstring | null · uuidrequiredThe StaffMember who completed the HumanTask in Carebit. Null when the HumanTask is open, or when it was completed through the API without a StaffMember.
contentstringrequiredThe sanitized description of the work to complete.
created_atstring · date-timerequiredAn ISO 8601 timestamp in UTC, with a
Zsuffix. For example,2026-07-01T09:00:00Z.creation_sourcestring | nullrequiredHow the HumanTask was created.
apimeans the record was created through the Developer Platform API. Read-only.Allowed values:
api | app | automation | import | staff_member | nulldocument_idstring | null · uuidrequiredThe Document associated with the HumanTask, when the HumanTask belongs to a Letter, TestResult, Photo, or BookingForm.
due_datestring · daterequiredThe date by which staff should complete the HumanTask.
idstring · uuidrequiredThe resource's unique identifier, formatted as an RFC 4122 version 4 UUID.
is_remindablebooleanrequiredWhether Carebit can send reminders when the HumanTask becomes due.
is_urgentbooleanrequiredWhether the HumanTask is marked as urgent.
linksobjectrequiredURLs to related resources.
completed_by_staff_memberstring | null · urirequiredThe full URL of a related resource.
documentstring | null · urirequiredThe full URL of a related resource.
patientstring | null · urirequiredThe full URL of a related resource.
objectanyrequiredDiscriminator value emitted at
object.patient_idstring | null · uuidrequiredThe Patient associated with the HumanTask.
updated_atstring · date-timerequiredAn ISO 8601 timestamp in UTC, with a
Zsuffix. For example,2026-07-01T09:00:00Z.
has_morebooleanrequiredWhether another page is available after
next_cursor.next_cursorstring | nullrequiredThe value to pass as
cursorfor the next page. Null on the last page.objectanyrequiredAlways
list.urlstringrequiredThe API path that returned this list.
Example
{
"object": "list",
"data":
"id": "8408d9e2-6643-4aee-8ebd-8edf57ead496",
"object": "human_task",
"assignees":
"assignee_id": "00000000-0000-4000-8000-000000000021",
"assignee_type": "staff_member"
}
],
"comments":
"id": "e7bcd0e1-df8c-456f-8242-ef51dac3b061",
"object": "comment",
"content": "Moved this to the secretary after the Patient called.",
"created_at": "2026-01-01T09:00:00Z",
"created_by_staff_member_id": "820b1195-41c0-476a-8add-3f2e706e2c01",
"human_task_id": "8408d9e2-6643-4aee-8ebd-8edf57ead496",
"links":
"created_by_staff_member": "https://api.carebit.co/v1/created_by_staff_members/820b1195-41c0-476a-8add-3f2e706e2c01",
"human_task": "https://api.carebit.co/v1/human_tasks/8408d9e2-6643-4aee-8ebd-8edf57ead496"
},
"updated_at": "2026-01-01T09:00:00Z"
}
],
"completed_at": "2026-01-01T09:00:00Z",
"completed_by_staff_member_id": "d5988084-3224-4174-8e46-83702cadb572",
"content": "Review the Patient's completed consent form.",
"created_at": "2026-01-01T09:00:00Z",
"creation_source": "api",
"document_id": "78aa99b3-1b45-47c3-8608-ece2f58b39ee",
"due_date": "2026-01-01",
"is_remindable": true,
"is_urgent": true,
"links":
"completed_by_staff_member": "https://api.carebit.co/v1/completed_by_staff_members/d5988084-3224-4174-8e46-83702cadb572",
"document": "https://api.carebit.co/v1/documents/78aa99b3-1b45-47c3-8608-ece2f58b39ee",
"patient": "https://api.carebit.co/v1/patients/00000000-0000-4000-8000-000000000004"
},
"patient_id": "00000000-0000-4000-8000-000000000004",
"updated_at": "2026-01-01T09:00:00Z"
}
],
"has_more": false,
"next_cursor": "eyJzdGFydF90aW1lIjoiMjAyNi0wMS0wMVQwOTowMDowMFoifQ",
"url": "/v1/human_tasks"
}A filter or pagination parameter is invalid.
errorobjectrequiredThe structured details that describe why the request failed.
codestringrequiredThe machine-readable error code.
errorsarray | nullAdditional errors from a failed validation.
itemsobjectcodestringThe machine-readable code for this validation error.
messagestringA message that explains this validation error.
paramstring | nullThe name of the parameter that caused this validation error, when known.
messagestringrequiredA message that explains the error and how to resolve it.
paramstring | nullThe name of the parameter that caused the error, when known.
typestringrequiredThe high-level category of the error.
Allowed values:
authentication_error | permission_error | invalid_request_error | rate_limit_error | api_error
Example
{
"error":
"code": "resource_missing",
"errors":
"code": "resource_missing",
"message": "The requested resource was not found.",
"param": "patient_id"
}
],
"message": "The requested resource was not found.",
"param": "patient_id",
"type": "authentication_error"
}
}The access token is missing, invalid, expired, or revoked.
errorobjectrequiredThe structured details that describe why the request failed.
codestringrequiredThe machine-readable error code.
errorsarray | nullAdditional errors from a failed validation.
itemsobjectcodestringThe machine-readable code for this validation error.
messagestringA message that explains this validation error.
paramstring | nullThe name of the parameter that caused this validation error, when known.
messagestringrequiredA message that explains the error and how to resolve it.
paramstring | nullThe name of the parameter that caused the error, when known.
typestringrequiredThe high-level category of the error.
Allowed values:
authentication_error | permission_error | invalid_request_error | rate_limit_error | api_error
Example
{
"error":
"code": "resource_missing",
"errors":
"code": "resource_missing",
"message": "The requested resource was not found.",
"param": "patient_id"
}
],
"message": "The requested resource was not found.",
"param": "patient_id",
"type": "authentication_error"
}
}The access token lacks the required scope, or the project is disabled.
errorobjectrequiredThe structured details that describe why the request failed.
codestringrequiredThe machine-readable error code.
errorsarray | nullAdditional errors from a failed validation.
itemsobjectcodestringThe machine-readable code for this validation error.
messagestringA message that explains this validation error.
paramstring | nullThe name of the parameter that caused this validation error, when known.
messagestringrequiredA message that explains the error and how to resolve it.
paramstring | nullThe name of the parameter that caused the error, when known.
typestringrequiredThe high-level category of the error.
Allowed values:
authentication_error | permission_error | invalid_request_error | rate_limit_error | api_error
Example
{
"error":
"code": "resource_missing",
"errors":
"code": "resource_missing",
"message": "The requested resource was not found.",
"param": "patient_id"
}
],
"message": "The requested resource was not found.",
"param": "patient_id",
"type": "authentication_error"
}
}Too many requests. Retry after the delay indicated by Retry-After.
errorobjectrequiredThe structured details that describe why the request failed.
codestringrequiredThe machine-readable error code.
errorsarray | nullAdditional errors from a failed validation.
itemsobjectcodestringThe machine-readable code for this validation error.
messagestringA message that explains this validation error.
paramstring | nullThe name of the parameter that caused this validation error, when known.
messagestringrequiredA message that explains the error and how to resolve it.
paramstring | nullThe name of the parameter that caused the error, when known.
typestringrequiredThe high-level category of the error.
Allowed values:
authentication_error | permission_error | invalid_request_error | rate_limit_error | api_error
Example
{
"error":
"code": "resource_missing",
"errors":
"code": "resource_missing",
"message": "The requested resource was not found.",
"param": "patient_id"
}
],
"message": "The requested resource was not found.",
"param": "patient_id",
"type": "authentication_error"
}
}