Skip to main content

Activities Guide

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

Activity Data Structure​

Table Format​

An activity object contains the following fields:

FieldTypeDescription
activityUIDstringUnique activity identifier
actionstringType of action performed (add, remove, change, complete, clear, queue, send, queue-to)
createdAtdatetimeWhen the activity was created
createdBystringName of user who created the activity
createdByUIDstringUID of user who created the activity
dataobjectAdditional data associated with the activity
failedAtdatetimeWhen the activity failed (if applicable)
GTIDstringGroupTrack ID of the related contact
linkstringURL link associated with the activity
notestringActivity notes
pipelineUIDstringUID of the pipeline associated with the activity
platformstringPlatform where activity occurred (e.g., Instagram, Facebook)
prioritizedAtdatetimeWhen the activity was prioritized
queuedTostringName of person activity was queued to
queuedToUIDstringUID of person activity was queued to
reasonCodestringCode for failure reason
reasonTextstringText description of failure reason
sentAtdatetimeWhen the activity was sent
stageUIDstringUID of the stage associated with the activity
statusstringCurrent status (sent, queued, failed, pending)
statusLabelstringLabel for the activity status
tagNamestringName of tag associated with the activity
tagSetUIDstringUID of tag set associated with the activity
teamMemberstringTeam member associated with the activity
teamMemberUIDstringUID of team member associated with the activity
typestringType of activity (initial, gender, birthDate, name, message, note, team, pipeline, stage, friend_request, tag, status, statusLabel, post, email, task, phone, sync, pin, info)

TypeScript Schema Format​

interface Activity {
activityUID: string; // Unique activity identifier
action?: string | null; // Type of action performed
createdAt?: Date | null; // When the activity was created
createdBy?: string | null; // Name of user who created the activity
createdByUID?: string | null; // UID of user who created the activity
data?: any; // Additional data associated with the activity
failedAt?: Date | null; // When the activity failed
GTID?: string | null; // GroupTrack ID of the related contact
link?: string | null; // URL link associated with the activity
note?: string | null; // Activity notes
pipelineUID?: string | null; // UID of the pipeline associated with the activity
platform?: string | null; // Platform where activity occurred
prioritizedAt?: Date | null; // When the activity was prioritized
queuedTo?: string | null; // Name of person activity was queued to
queuedToUID?: string | null; // UID of person activity was queued to
reasonCode?: string | null; // Code for failure reason
reasonText?: string | null; // Text description of failure reason
sentAt?: Date | null; // When the activity was sent
stageUID?: string | null; // UID of the stage associated with the activity
status?: string | null; // Current status
statusLabel?: string | null; // Label for the activity status
tagName?: string | null; // Name of tag associated with the activity
tagSetUID?: string | null; // UID of tag set associated with the activity
teamMember?: string | null; // Team member associated with the activity
teamMemberUID?: string | null; // UID of team member associated with the activity
type?: string | null; // Type of activity
}

Searching Activities​

You can search for activities 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 activities by type
GET "/activities?filter[type]=message"

# Search for activities created after a specific date
GET "/activities?filter[createdAt][gt]=2025-01-01"

# Search for activities by contact GTID
GET "/activities?filter[GTID]=contact123"

# Search for activities with a specific status
GET "/activities?filter[status]=sent"

Activity Filters​

FilterTypeDescriptionComparators
activityUIDTextThe activity's unique identifiereq, exists, like
actionTextThe activity's action typeeq, exists, like
createdAtDatetimeWhen the activity was createdeq, exists, lt, lte, gt, gte
createdByTextThe name of the activity's creatoreq, exists, like
createdByUIDTextThe UID of the activity's creatoreq, exists, like
failedAtDatetimeWhen the activity failedeq, exists, lt, lte, gt, gte
GTIDTextThe contact's GroupTrack IDeq, exists, like
linkTextThe activity's associated linkeq, exists, like
noteTextThe activity's noteseq, exists, like
pipelineUIDTextThe activity's pipeline UIDeq, exists, like
platformTextThe platform where the activity occurredeq, exists, like
prioritizedAtDatetimeWhen the activity was prioritizedeq, exists, lt, lte, gt, gte
queuedToTextThe name the activity was queued toeq, exists, like
queuedToUIDTextThe UID the activity was queued toeq, exists, like
reasonCodeTextThe activity's failure reason codeeq, exists, like
reasonTextTextThe activity's failure reason texteq, exists, like
sentAtDatetimeWhen the activity was senteq, exists, lt, lte, gt, gte
stageUIDTextThe activity's stage UIDeq, exists, like
statusTextThe activity's statuseq, exists, like
statusLabelTextThe activity's status labeleq, exists, like
tagNameTextThe activity's tag nameeq, exists, like
tagSetUIDTextThe activity's tag set UIDeq, exists, like
teamMemberTextThe team member associated with the activityeq, exists, like
teamMemberUIDTextThe UID of the team member associated with the activityeq, exists, like
typeTextThe activity's typeeq, exists, like