Skip to main content
POST
task-events

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Task event payload

_id
string

Unique identifier of the task

organizationId
string

Organization ID associated with the task

hubId
string

Hub ID associated with the task

flowId
string

Flow ID associated with the task

flow
string

Flow name

status
enum<string>

Task status

Available options:
UNASSIGNED,
ONGOING,
DONE
startTime
string

Expected start time (ISO 8601)

endTime
string

Expected end time (ISO 8601)

createdTime
string

Task creation timestamp (ISO 8601)

updatedTime
string

Last update timestamp (ISO 8601)

createdBy
string

Name of the user who created the task

createdFrom
enum<string>

Source of task creation

Available options:
WEB,
API
assignedBy
string

Name of the person who assigned the task

assignee
string[]

Array of assignee email addresses

assignedTime
string

Assignment timestamp (ISO 8601)

doneBy
string

Name of the worker who completed the task

doneTime
string

Completion timestamp (ISO 8601)

Response

200

Return 200 status to indicate that the data was received successfully