Skip to main content

Tasks Guide

This guide provides examples and information on how to interact with the Tasks endpoints of our REST API.

Task Data Structure​

Table Format​

A task object contains the following fields:

FieldTypeDescription
taskUIDstringUnique task identifier
initialTaskUIDstringUID of initial task (if this is a repeat)
bulkTaskUIDstringUID of bulk task (if part of bulk operation)
createdAtdatetimeWhen the task was created
createdBystringName of user who created the task
createdByUIDstringUID of user who created the task
assignedToUIDstringUID of person task is assigned to
assignedToNamestringName of person task is assigned to
GTIDstringGroupTrack ID of the related contact
contactNamestringName of the contact associated with the task
pipelineUIDstringUID of the pipeline associated with the task
dueDatedatetimeWhen the task is due
taskStatusstringCurrent status of the task
taskNamestringName/title of the task
isRepeatingbooleanWhether the task repeats
notifiedarrayNotification history for the task

TypeScript Schema Format​

interface Task {
taskUID: string; // Unique task identifier
initialTaskUID?: string | null; // UID of initial task if this is a repeat
bulkTaskUID?: string | null; // UID of bulk task if part of bulk operation
createdAt?: string | number | null; // When the task was created
createdBy?: string | null; // Name of user who created the task
createdByUID?: string | null; // UID of user who created the task
assignedToUID?: string | null; // UID of person task is assigned to
assignedToName?: string | null; // Name of person task is assigned to
GTID?: string | null; // GroupTrack ID of the related contact
contactName?: string | null; // Name of the contact associated with the task
pipelineUID?: string | null; // UID of the pipeline associated with the task
dueDate?: Date | null; // When the task is due
taskStatus?: string | null; // Current status of the task
taskName?: string | null; // Name/title of the task
isRepeating?: boolean | null; // Whether the task repeats
notified?: TaskNotification[] | null; // Notification history for the task
}

interface TaskNotification {
notifiedOn?: Date | null; // When the notification was sent
notifiedVia?: string | null; // How the notification was sent
notificationError?: string | null; // Any error that occurred during notification
}

Searching Tasks​

You can search for tasks using various filters. Below are a list of available filters:

For detailed information on how to use these filters and available comparators, see Searching Guide.

Usage Examples​

# Search for tasks by name
GET "/tasks?filter[taskName]=Follow up"

# Search for tasks due after a specific date
GET "/tasks?filter[dueDate][gt]=2025-01-01"

# Search for tasks assigned to a person
GET "/tasks?filter[assignedToUID]=user123"

# Search for repeating tasks
GET "/tasks?filter[isRepeating]=true"

Task Filters​

FilterTypeDescriptionComparators
actualDueDateDatetimeThe task's actual due dateeq, exists, lt, lte, gt, gte
assignedToNameTextThe name of the person the task is assigned toeq, exists, like
assignedToUIDTextThe UID of the person the task is assigned toeq, exists, like
bulkTaskUIDTextThe task's bulk operation UIDeq, exists, like
contactNameTextThe name of the contact associated with the taskeq, exists, like
createdAtDatetimeWhen the task was createdeq, exists, lt, lte, gt, gte
createdByTextThe name of the task's creatoreq, exists, like
createdByUIDTextThe UID of the task's creatoreq, exists, like
dueDateDatetimeWhen the task is dueeq, exists, lt, lte, gt, gte
GTIDTextThe contact's GroupTrack IDeq, exists, like
initialTaskUIDTextThe UID of the initial task if this is a repeateq, exists, like
isRepeatingBooleanWhether the task repeatsexists
notified.notificationErrorTextAny error in the task's notificationseq, exists, like
notified.notifiedOnDatetimeWhen the task was notifiedeq, exists, lt, lte, gt, gte
notified.notifiedViaTextHow the task was notifiedeq, exists, like
pipelineUIDTextThe task's pipeline UIDeq, exists, like
taskNameTextThe task's name/titleeq, exists, like
taskStatusTextThe task's current statuseq, exists, like
taskUIDTextThe task's unique identifiereq, exists, like