Skip to main content
POST
Add suggested task from briefing

Authorizations

x-api-key
string
header
required

CX API key. Create one in CX under Settings → Advanced → API Keys.

Path Parameters

brief
string
required

Briefing ID

summary
string
required

Summary index

task
string
required

Task index

Response

Created task

_id
string
access
string[]

Access control - this is essentially just a list of user IDs who have tasks the project this task belongs to that are assigned to them.

activity
object[]
assignee
string
automation
string

An automation may be used to complete the task

automation_config
object[]
automation_data
any
automation_logs
object[]
automation_timing
object

AutomationTiming, when non-nil, schedules the automation to run later instead of immediately (nil = immediate). See AutomationTiming in project_template.go.

billable
boolean
blocked_fields
string[]

BlockingFields are project field keys that must be populated before the task can be completed. Unlike FieldsToComplete, these cannot be overridden.

client
string
client_task_data
object

JSON data for the client task

client_task_type
string

If this is a task for the client to do, a client task type should be set - eg. "Census Data Collection", "Census Data Review", "Participant Notices", "Fill Web or Document Form", "Testing Corrections", "Other"

completed_at
string
created_at
string

Time tracking

deleted_at
string
description
string
due
string
fields_to_complete
string[]

If the task belongs to a project, it can require collecting specified fields for the project

flagged_at
string

By automation

in_queue
boolean
internal_task_data
object

JSON data for the internal task

internal_task_type
string

If this is a special type (eg. payroll mapping, form selection, etc.), an internal task type should be set.

log_completion_to
string
log_completion_type
string

Log completion time to project variable?

meeting
object
message
object

For returning when loading

next_at
string
notes
string
order
integer

If the task is part of a project, the order should be tracked

plan
string
priority
integer
project
string
queue_group
string

Queue routing

queued_at
string
scheduled_at
string

ScheduledAt is the absolute UTC instant a scheduled automation should fire, computed once from AutomationTiming at scheduling time (ENG-8103). Semantics: {ScheduledAt set, StartedAt nil} = pending; StartedAt set = claimed/fired; AutomationTiming nil = immediate.

started_at
string
suggestion
integer
team
string
team_wide_access
boolean

Team-wide access - if true, all team members have access to this project

template
string
work_logs
object[]

Work logs