Task Fields in REST 3.0

In the section Task Object, all task fields are described, while other sections cover the fields of related objects. Some task fields are available as both an identifier number and as an object, for example, creatorId and creator. Use the identifier field in the methods for creating and updating a task. Use the object field in the method for getting a task. Instructions on how to work with the fields of related objects are described in the article Overview of REST API 3.0.

The rights to write and modify fields depend on the user's role in the task, group permission settings, employee hierarchy, task status, and certain flags in the task, such as allowChangeDeadline.

Task Object

Name
type

Description

id
integer

Task identifier

title
string

Task title, a required field for creating a task

description
string

Task description

creatorId
integer

Creator identifier, a required field for creating a task

creator
object

Creator. An object of type user. Use for data requests in the select parameter of tasks.task.get

created
datetime

Creation date in ISO-8601 format

responsibleId
integer

Assignee identifier, a required field for creating a task

responsible
object

Assignee. An object of type user. Use for data requests in the select parameter of tasks.task.get

deadline
datetime

Deadline in ISO-8601 format, for example, 2025-12-31T23:59:59+02:00

needsControl
boolean

Task control by the creator. Possible values:
Y — enabled
N — disabled, default value

startPlan
datetime

Planned start date in ISO-8601 format, for example, 2025-12-31T06:00:00+02:00

endPlan
datetime

Planned end date in ISO-8601 format, for example, 2025-12-31T18:00:00+02:00

checklist
array

Identifiers of checklist items. To work with checklists, use the methods task.checklistitem.*

groupId
integer

Group/project identifier. To work with groups, use the methods sonet_group.*

group
object

Group/project. An object of type group. Use for data requests in the select parameter of tasks.task.get

stageId
integer

Stage identifier. Use if the task is in a group/project

stage
object

Stage. An object of type stage. Use for data requests in the select parameter of tasks.task.get

epicId
integer

Epic identifier. To work with epics, use the methods tasks.api.scrum.epic.*

storyPoints
integer

Story points. To update a Scrum task, use the method tasks.api.scrum.task.update

flowId
integer

Flow identifier. To work with flows, use the methods tasks.flow.Flow.*

flow
object

Flow. An object of type flow. Use for data requests in the select parameter of tasks.task.get

priority
string

Task priority. Possible values:

  • high — high
  • average — average
  • low — low

status
string

Task status. Possible values:

  • pending — waiting for execution
  • in_progress — in progress
  • supposedly_completed — awaiting control
  • completed — completed
  • deferred — deferred
  • declined — declined

statusChanged
datetime

Status change date in ISO 8601 format

accomplices
array<object>

List of user identifiers — participants in the methods for creating or updating a task.
An array of objects of type user. Use for data requests in the select parameter of tasks.task.get

auditors
array<object>

List of user identifiers — auditors of the task in the methods for creating or updating a task.
An array of objects of type user. Use for data requests in the select parameter of tasks.task.get

parentId
integer

Parent task identifier.
Has a value of null if there is no parent task

parent
object

Parent task. An object of type task. Use for data requests in the select parameter of tasks.task.get

containsChecklist
boolean

Indicates the presence of a checklist. The field is automatically updated

containsSubTasks
boolean

Indicates the presence of subtasks. The field is automatically updated

containsRelatedTasks
boolean

Indicates the presence of related tasks. The field is automatically updated

containsGanttLinks
boolean

Indicates the presence of Gantt links. The field is automatically updated

containsPlacements
boolean

Indicates the presence of integrations. The field is automatically updated

containsResults
boolean

Indicates the presence of results. The field is automatically updated

numberOfReminders
integer

Number of reminders for the task. The field is automatically updated

chatId
integer

Task chat identifier. To work with the task chat, use the methods im.message.*

chat
object

Task chat. An object of type task chat. Use for data requests in the select parameter of tasks.task.get

plannedDuration
integer

Planned duration

actualDuration
integer

Actual duration

durationType
string

Unit of planned duration. Possible values: secs, mins, hours, days, weeks, monts, years

started
datetime

Start date of execution in ISO 8601 format

estimatedTime
integer

Time estimate in seconds

replicate
boolean

Indicates a recurring task. Possible values:

  • Y — yes, make the task recurring
  • N — do not repeat

changed
datetime

Change date in ISO 8601 format

changedById
integer

Identifier of the user who changed the task

changedBy
object

Who changed. An object of type user. Use for data requests in the select parameter of tasks.task.get

statusChangedById
integer

Identifier of the user who changed the status

statusChangedBy
object

Who changed the status. An object of type user. Use for data requests in the select parameter of tasks.task.get

closedById
integer

Identifier of the user who closed the task

closedBy
object

Who closed. An object of type user. Use for data requests in the select parameter of tasks.task.get

closed
datetime

Closing date in ISO 8601 format

activity
datetime

Date of last activity in ISO 8601 format

guid
string

Task GUID identifier

xmlId
string

External identifier

exchangeId
string

Exchange identifier

exchangeModified
string

Date of modification in Exchange

outlookVersion
integer

Version of synchronization with Outlook

mark
string

Task rating. Possible values:
N — negative
P — positive
null — unrated

allowsChangeDeadline
boolean

Allowed to change the deadline. Possible values:

  • Y — allowed
  • N — not allowed

allowsTimeTracking
boolean

Time tracking enabled for the task. Possible values:

  • Y — enabled
  • N — not enabled

matchesWorkTime
boolean

Consider working hours. Possible values:

  • Y — yes
  • N — no

addInReport
boolean

Add to report. Possible values:

  • Y — add
  • N — do not add

isMultitask
boolean

Indicates "base task with subtasks". Possible values:

  • Y — yes
  • N — no

siteId
string

Site identifier

forkedByTemplateId
integer

Identifier of the template if the task was created from a template

forkedByTemplate
object

Task template. An object of type template. Use for data requests in the select parameter of tasks.task.get

maxDeadlineChangeDate
datetime

Date after which the deadline cannot be changed, in ISO 8601 format

maxDeadlineChanges
integer

Maximum number of deadline extensions

requireDeadlineChangeReason
boolean

Require a reason when changing the deadline. Possible values:

  • Y — yes
  • N — no

link
string

Link to the task

rights
array

Array of actions that the user can perform with the task

archiveLink
string

Link to the archive for downloading all task files

crmItemIds
array

Array of identifiers of related CRM objects in the format:

  • L_XX — lead,
  • D_XX — deal
  • C_XX — contact
  • CO_XX — company
  • SI_XX — invoice
  • TXX_XX — SPA

emailId
integer

Identifier of the email from which the task was created

email
object

Email from which the task was created. An object of type email. Use for data requests in the select parameter of tasks.task.get

elapsedTime
object

Time tracking. An object of type time tracking. Use for data requests in the select parameter of tasks.task.get

requireResult
boolean

Require a result. Possible values:

  • Y — yes
  • N — no

matchesSubTasksTime
boolean

Consider subtasks deadlines. Possible values:

  • Y — yes
  • N — no

autocompleteSubTasks
boolean

Auto-completion of subtasks. Possible values:

  • Y — yes
  • N — no

allowsChangeDatePlan
boolean

Allowed to change planned dates. Possible values:

  • Y — yes
  • N — no

inFavorite
array

Indicates "in favorites". The field returns an array containing the ID of the current user if their setting is active "inFavorite": [29]

inPin
array

Indicates "task pinned". The field returns an array containing the ID of the current user if their setting is active "inPin": [29]

inGroupPin
array

Indicates "task pinned in group". The field returns an array containing the ID of the current user if their setting is active "inGroupPin": [29]

inMute
array

Indicates "mute". The field returns an array containing the ID of the current user if their setting is active "inMute": [29]

source
object

Source of the task. An object source. Use for data requests in the select parameter of tasks.task.get

dependsOn
array

Dependencies on tasks

scenarios
array

Task creation scenario. Possible values:

  • default — default value
  • crm — CRM
  • mobile — mobile application
  • voice — audio task AI
  • video — video task AI

User Object

Name
type

Description

id
integer

User identifier

name
string

User name

role
string

User role

image
object

An object of type file. Use for data requests in the select parameter of tasks.task.get

gender
string

Gender

email
string

Email

externalAuthId
string

External auth ID

rights
array

User rights

File Object

Name
type

Description

id
integer

File identifier

src
string

Link to the file

name
string

File name

width
integer

Width

height
integer

Height

size
integer

Size

subDir
string

Subdirectory

contentType
string

MIME type

file
array

File data

Group Object

Name
type

Description

id
integer

Group identifier

name
string

Group name

image
object

An object of type file. Use for data requests in the select parameter of tasks.task.get

type
string

Group type

isVisible
boolean

Visibility indicator

Stage Object

Name
type

Description

id
integer

Stage identifier

title
string

Stage title

color
string

Stage color

Flow Object

Name
type

Description

id
integer

Flow identifier

name
string

Flow name

Task Chat Object

Name
type

Description

id
integer

Chat element identifier

entityId
integer

Chat object identifier

entityType
string

Chat object type

Task Template Object

Name
type

Description

id
integer

Template identifier

task
object

An object of type task. Use for data requests in the select parameter of tasks.task.get

title
string

Title

description
string

Description

creator
object

An object of type user. Use for data requests in the select parameter of tasks.task.get

responsibleCollection
array

Collection of responsible persons

deadlineAfterTs
integer

Deadline shift

startDatePlanTs
integer

Planned start date

endDatePlanTs
integer

Planned end date

replicate
boolean

Task repetition from the template

checklist
array

Array of checklist item identifiers

group
object

An object of type group. Use for data requests in the select parameter of tasks.task.get

priority
string

Priority

accomplices
array

Participants

auditors
array

Auditors

parent
object

Parent template. An object of type task template

replicateParams
object

An object of replication parameters. Use for data requests in the select parameter of tasks.task.get

Template Replication Parameters Object

Name
type

Description

period
string

Frequency

everyDay
string

Every day

workdayOnly
string

Only working days

dailyMonthInterval
string

Interval in days of the month

everyWeek
string

Every week

monthlyType
string

Type of monthly repetition

monthlyDayNum
string

Day of the month

monthlyMonthNum1
string

First month of the period

monthlyWeekDayNum
string

Week number in the month

monthlyWeekDay
string

Day of the week

monthlyMonthNum2
string

Second month of the period

yearlyType
string

Type of yearly repetition

yearlyDayNum
string

Day of the month for yearly repetition

yearlyMonth1
string

First month of yearly repetition

yearlyWeekDayNum
string

Week number for yearly repetition

yearlyWeekDay
string

Day of the week for yearly repetition

yearlyMonth2
string

Second month of yearly repetition

time
string

Time

timezoneOffset
string

Timezone offset

startDate
string

Start date of repetition

repeatTill
string

Until what date to repeat

endDate
string

End date of repetition

times
string

Number of repetitions

Email Object

Name
type

Description

id
integer

Email ID

taskId
integer

Task ID

mailboxId
integer

Mailbox ID

title
string

Email title

body
string

Email body

from
string

Email sender

dateTs
integer

Email sending timestamp

link
string

Link to the email

Time Tracking Object

Name
type

Description

id
integer

Time tracking record identifier

userId
integer

User

taskId
integer

Task

minutes
integer

Minutes

seconds
integer

Seconds

source
string

Source

text
string

Comment

createdAtTs
integer

Creation date

startTs
integer

Start time

stopTs
integer

End time

Source Object

Name
type

Description

type
string

Source type

data
array

Source data