Override a milestone stage
curl --request POST \
--url https://api.cx.stax.ai/milestones/workflow/{id}/_set_stage \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"plan_year": 123,
"resource_id": "<string>",
"stage": "<string>"
}
'import requests
url = "https://api.cx.stax.ai/milestones/workflow/{id}/_set_stage"
payload = {
"plan_year": 123,
"resource_id": "<string>",
"stage": "<string>"
}
headers = {
"x-api-key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'x-api-key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({plan_year: 123, resource_id: '<string>', stage: '<string>'})
};
fetch('https://api.cx.stax.ai/milestones/workflow/{id}/_set_stage', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.cx.stax.ai/milestones/workflow/{id}/_set_stage",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'plan_year' => 123,
'resource_id' => '<string>',
'stage' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"x-api-key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.cx.stax.ai/milestones/workflow/{id}/_set_stage"
payload := strings.NewReader("{\n \"plan_year\": 123,\n \"resource_id\": \"<string>\",\n \"stage\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("x-api-key", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.cx.stax.ai/milestones/workflow/{id}/_set_stage")
.header("x-api-key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"plan_year\": 123,\n \"resource_id\": \"<string>\",\n \"stage\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.cx.stax.ai/milestones/workflow/{id}/_set_stage")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["x-api-key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"plan_year\": 123,\n \"resource_id\": \"<string>\",\n \"stage\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"activity": [
{
"_id": "<string>",
"action": "<string>",
"changes": [
{
"data": "<string>",
"field": "<string>",
"from": "<string>",
"to": "<string>"
}
],
"client": "<string>",
"on_id": "<string>",
"on_py": 123,
"on_type": "<string>",
"team": "<string>",
"timestamp": "<string>",
"user": "<string>"
}
],
"ok": true,
"plan_year_project": {
"_id": "<string>",
"access": [
"<string>"
],
"activity": [
{
"_id": "<string>",
"action": "<string>",
"changes": [
{
"data": "<string>",
"field": "<string>",
"from": "<string>",
"to": "<string>"
}
],
"client": "<string>",
"on_id": "<string>",
"on_py": 123,
"on_type": "<string>",
"team": "<string>",
"timestamp": "<string>",
"user": "<string>"
}
],
"billing": {
"amount_override_minor": 123,
"billable": true,
"charge": "<string>",
"configuration_source": "<string>",
"contract_amount_minor": 123,
"decision_at": "<string>",
"decision_by": "<string>",
"decision_reason": "<string>",
"default_quantity": {},
"fee_item": "<string>",
"invoice": "<string>",
"occurrence_key": "<string>",
"override_at": "<string>",
"override_by": "<string>",
"override_reason": "<string>",
"quantity": {},
"quantity_field_key": "<string>",
"revision": 123,
"service_date": "<string>",
"status": "<string>"
},
"category": "<string>",
"client": "<string>",
"client_name": "<string>",
"comments": [
{
"_id": "<string>",
"client": "<string>",
"content": "<string>",
"deleted_at": "<string>",
"likes": [
"<string>"
],
"on_id": "<string>",
"on_type": "<string>",
"reply_to": "<string>",
"team": "<string>",
"timestamp": "<string>",
"user": "<string>"
}
],
"completed_at": "<string>",
"created_at": "<string>",
"deal": "<string>",
"deal_name": "<string>",
"deal_object": {
"_id": "<string>",
"client": "<string>",
"close_date": "<string>",
"close_probability": 123,
"closed_at": "<string>",
"closed_reason": "<string>",
"closed_reason_detail": "<string>",
"created_at": "<string>",
"deleted_at": "<string>",
"ein": "<string>",
"funnel": "<string>",
"last_activity": "<string>",
"n_messages": 123,
"n_tasks": 123,
"name": "<string>",
"owner": "<string>",
"plan": "<string>",
"plan_number": "<string>",
"proposal_count": 123,
"proposals": [
{
"_id": "<string>",
"created_at": "<string>",
"name": "<string>",
"plan_type": "<string>",
"progress": 123,
"status": "<string>",
"updated_at": "<string>"
}
],
"pulse": 123,
"source": "<string>",
"stage": "<string>",
"status": "<string>",
"tags": [
"<string>"
],
"team": "<string>",
"unread": true,
"value": 123
},
"deleted_at": "<string>",
"description": "<string>",
"due": "<string>",
"effective_billing_fee_item": "<string>",
"effective_billing_fee_item_name": "<string>",
"fields": [
{
"key": "<string>",
"value": "<unknown>"
}
],
"hours_logged": 123,
"in_queue": true,
"incomplete_tasks": 123,
"lead": "<string>",
"lead_group": "<string>",
"next": {
"_id": "<string>",
"access": [
"<string>"
],
"activity": [
{
"_id": "<string>",
"action": "<string>",
"changes": [
{
"data": "<string>",
"field": "<string>",
"from": "<string>",
"to": "<string>"
}
],
"client": "<string>",
"on_id": "<string>",
"on_py": 123,
"on_type": "<string>",
"team": "<string>",
"timestamp": "<string>",
"user": "<string>"
}
],
"assignee": "<string>",
"automation": "<string>",
"automation_config": [
{
"key": "<string>",
"value": "<unknown>"
}
],
"automation_data": "<unknown>",
"automation_logs": [
{
"code": "<string>",
"execution_time": 123,
"message": "<string>",
"timestamp": "<string>",
"traceback": "<string>",
"type": "<string>"
}
],
"automation_timing": {
"anchor": "<string>",
"date": "<string>",
"run_after_days": 123,
"run_hour": 123
},
"billable": true,
"blocked_fields": [
"<string>"
],
"client": "<string>",
"client_task_data": {
"allow_skip_census_upload": "<string>",
"census_upload_instructions": "<string>",
"census_v2_employee_data_policy": "any",
"census_v2_export_field": "<string>",
"census_v2_export_file_type": "<string>",
"census_v2_flow_preset": "company_contacts_ownership_payroll_census",
"destination": "<string>",
"download_file": "<string>",
"file_upload": "<string>",
"follow_up_interval": 123,
"follow_up_to": [
"<string>"
],
"form_file": "<string>",
"form_response": "<string>",
"form_template": "<string>",
"last_follow_up": "<string>",
"notice_file": "<string>",
"payroll_connect_instructions": "<string>",
"payroll_enabled": "<string>",
"payroll_upload_instructions": "<string>",
"py": "<string>",
"url": "<string>",
"w2_upload_instructions": "<string>"
},
"client_task_type": "<string>",
"completed_at": "<string>",
"created_at": "<string>",
"deleted_at": "<string>",
"description": "<string>",
"due": "<string>",
"fields_to_complete": [
"<string>"
],
"flagged_at": "<string>",
"in_queue": true,
"internal_task_data": {
"efast_data": {
"attachments": [
"<unknown>"
],
"dcg_attachments": [
"<unknown>"
],
"file_names": [
"<string>"
],
"form": "<string>",
"schedule_instances": {},
"schedules": [
"<string>"
]
},
"form_id": "<string>",
"py": "<string>",
"task_type": "<string>",
"url": "<string>"
},
"internal_task_type": "<string>",
"log_completion_to": "<string>",
"log_completion_type": "<string>",
"meeting": {
"_id": "<string>",
"added_tasks": [
"<string>"
],
"attendees": [
{
"address": "<string>",
"name": "<string>",
"user": "<string>"
}
],
"client": "<string>",
"created_at": "<string>",
"date": "<string>",
"deleted_at": "<string>",
"duration": 123,
"format": "<string>",
"location": "<string>",
"notes": "<string>",
"raw_transcript": "<string>",
"tasks": [
"<string>"
],
"team": "<string>",
"transcript": [
{
"speaker": "<string>",
"text": "<string>",
"timestamp": 123
}
]
},
"message": {
"_id": "<string>",
"attachments": [
{
"content_id": "<string>",
"file": "<string>",
"filename": "<string>",
"isInline": true,
"size": 123,
"source_id": "<string>",
"url": "<string>"
}
],
"bcc": "<string>",
"bookmark": true,
"brief": "<string>",
"cc": "<string>",
"checksum": "<string>",
"clients": [
"<string>"
],
"created_at": "<string>",
"date": "<string>",
"deleted_at": "<string>",
"domains": [
"<string>"
],
"draft": true,
"from": "<string>",
"html": "<string>",
"importance": 123,
"in_reply_to": "<string>",
"internal": true,
"message_folders": [
"<string>"
],
"outbox": true,
"private": true,
"read": "<string>",
"references": "<string>",
"reply": "<string>",
"requires_response": true,
"responses": [
"<string>"
],
"safe_for_everyone": true,
"schedule_id": "<string>",
"schedule_send_at": "<string>",
"secure": true,
"send_failed": true,
"send_scheduled": true,
"send_state": "<string>",
"sentiment": 123,
"source": "<string>",
"source_history_id": "<string>",
"source_id": "<string>",
"subject": "<string>",
"summary": [
"<string>"
],
"tags": [
"<string>"
],
"tasks": [
"<string>"
],
"team": "<string>",
"text": "<string>",
"thread": "<string>",
"to": "<string>",
"unique_key": "<string>",
"user": "<string>"
},
"next_at": "<string>",
"notes": "<string>",
"order": 123,
"plan": "<string>",
"priority": 123,
"project": "<string>",
"queue_group": "<string>",
"queued_at": "<string>",
"scheduled_at": "<string>",
"started_at": "<string>",
"suggestion": 123,
"team": "<string>",
"team_wide_access": true,
"template": "<string>",
"work_logs": [
{
"_id": "<string>",
"ended_at": "<string>",
"notes": "<string>",
"started_at": "<string>",
"time_spent": 123,
"user": "<string>"
}
]
},
"plan": "<string>",
"plan_name": "<string>",
"queued_at": "<string>",
"starred": [
"<string>"
],
"status": "<string>",
"tags": [
"<string>"
],
"tasks": [
{
"_id": "<string>",
"access": [
"<string>"
],
"activity": [
{
"_id": "<string>",
"action": "<string>",
"changes": [
{
"data": "<string>",
"field": "<string>",
"from": "<string>",
"to": "<string>"
}
],
"client": "<string>",
"on_id": "<string>",
"on_py": 123,
"on_type": "<string>",
"team": "<string>",
"timestamp": "<string>",
"user": "<string>"
}
],
"assignee": "<string>",
"automation": "<string>",
"automation_config": [
{
"key": "<string>",
"value": "<unknown>"
}
],
"automation_data": "<unknown>",
"automation_logs": [
{
"code": "<string>",
"execution_time": 123,
"message": "<string>",
"timestamp": "<string>",
"traceback": "<string>",
"type": "<string>"
}
],
"automation_timing": {
"anchor": "<string>",
"date": "<string>",
"run_after_days": 123,
"run_hour": 123
},
"billable": true,
"blocked_fields": [
"<string>"
],
"client": "<string>",
"client_task_data": {
"allow_skip_census_upload": "<string>",
"census_upload_instructions": "<string>",
"census_v2_employee_data_policy": "any",
"census_v2_export_field": "<string>",
"census_v2_export_file_type": "<string>",
"census_v2_flow_preset": "company_contacts_ownership_payroll_census",
"destination": "<string>",
"download_file": "<string>",
"file_upload": "<string>",
"follow_up_interval": 123,
"follow_up_to": [
"<string>"
],
"form_file": "<string>",
"form_response": "<string>",
"form_template": "<string>",
"last_follow_up": "<string>",
"notice_file": "<string>",
"payroll_connect_instructions": "<string>",
"payroll_enabled": "<string>",
"payroll_upload_instructions": "<string>",
"py": "<string>",
"url": "<string>",
"w2_upload_instructions": "<string>"
},
"client_task_type": "<string>",
"completed_at": "<string>",
"created_at": "<string>",
"deleted_at": "<string>",
"description": "<string>",
"due": "<string>",
"fields_to_complete": [
"<string>"
],
"flagged_at": "<string>",
"in_queue": true,
"internal_task_data": {
"efast_data": {
"attachments": [
"<unknown>"
],
"dcg_attachments": [
"<unknown>"
],
"file_names": [
"<string>"
],
"form": "<string>",
"schedule_instances": {},
"schedules": [
"<string>"
]
},
"form_id": "<string>",
"py": "<string>",
"task_type": "<string>",
"url": "<string>"
},
"internal_task_type": "<string>",
"log_completion_to": "<string>",
"log_completion_type": "<string>",
"meeting": {
"_id": "<string>",
"added_tasks": [
"<string>"
],
"attendees": [
{
"address": "<string>",
"name": "<string>",
"user": "<string>"
}
],
"client": "<string>",
"created_at": "<string>",
"date": "<string>",
"deleted_at": "<string>",
"duration": 123,
"format": "<string>",
"location": "<string>",
"notes": "<string>",
"raw_transcript": "<string>",
"tasks": [
"<string>"
],
"team": "<string>",
"transcript": [
{
"speaker": "<string>",
"text": "<string>",
"timestamp": 123
}
]
},
"message": {
"_id": "<string>",
"attachments": [
{
"content_id": "<string>",
"file": "<string>",
"filename": "<string>",
"isInline": true,
"size": 123,
"source_id": "<string>",
"url": "<string>"
}
],
"bcc": "<string>",
"bookmark": true,
"brief": "<string>",
"cc": "<string>",
"checksum": "<string>",
"clients": [
"<string>"
],
"created_at": "<string>",
"date": "<string>",
"deleted_at": "<string>",
"domains": [
"<string>"
],
"draft": true,
"from": "<string>",
"html": "<string>",
"importance": 123,
"in_reply_to": "<string>",
"internal": true,
"message_folders": [
"<string>"
],
"outbox": true,
"private": true,
"read": "<string>",
"references": "<string>",
"reply": "<string>",
"requires_response": true,
"responses": [
"<string>"
],
"safe_for_everyone": true,
"schedule_id": "<string>",
"schedule_send_at": "<string>",
"secure": true,
"send_failed": true,
"send_scheduled": true,
"send_state": "<string>",
"sentiment": 123,
"source": "<string>",
"source_history_id": "<string>",
"source_id": "<string>",
"subject": "<string>",
"summary": [
"<string>"
],
"tags": [
"<string>"
],
"tasks": [
"<string>"
],
"team": "<string>",
"text": "<string>",
"thread": "<string>",
"to": "<string>",
"unique_key": "<string>",
"user": "<string>"
},
"next_at": "<string>",
"notes": "<string>",
"order": 123,
"plan": "<string>",
"priority": 123,
"project": "<string>",
"queue_group": "<string>",
"queued_at": "<string>",
"scheduled_at": "<string>",
"started_at": "<string>",
"suggestion": 123,
"team": "<string>",
"team_wide_access": true,
"template": "<string>",
"work_logs": [
{
"_id": "<string>",
"ended_at": "<string>",
"notes": "<string>",
"started_at": "<string>",
"time_spent": 123,
"user": "<string>"
}
]
}
],
"team": "<string>",
"team_wide_access": true,
"template": "<string>",
"title": "<string>",
"total_tasks": 123,
"view": "<string>"
}
}{}{}{}{}milestones
Override a milestone stage
Sets the selected stage’s milestone date to the current time when it is empty and clears milestone dates after that stage. For plan_year workflows, resource_id is the plan ID, plan_year is required, a missing detail project is created, and plan_year_project is returned.
POST
/
milestones
/
workflow
/
{id}
/
_set_stage
Override a milestone stage
curl --request POST \
--url https://api.cx.stax.ai/milestones/workflow/{id}/_set_stage \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"plan_year": 123,
"resource_id": "<string>",
"stage": "<string>"
}
'import requests
url = "https://api.cx.stax.ai/milestones/workflow/{id}/_set_stage"
payload = {
"plan_year": 123,
"resource_id": "<string>",
"stage": "<string>"
}
headers = {
"x-api-key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'x-api-key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({plan_year: 123, resource_id: '<string>', stage: '<string>'})
};
fetch('https://api.cx.stax.ai/milestones/workflow/{id}/_set_stage', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.cx.stax.ai/milestones/workflow/{id}/_set_stage",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'plan_year' => 123,
'resource_id' => '<string>',
'stage' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"x-api-key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.cx.stax.ai/milestones/workflow/{id}/_set_stage"
payload := strings.NewReader("{\n \"plan_year\": 123,\n \"resource_id\": \"<string>\",\n \"stage\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("x-api-key", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.cx.stax.ai/milestones/workflow/{id}/_set_stage")
.header("x-api-key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"plan_year\": 123,\n \"resource_id\": \"<string>\",\n \"stage\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.cx.stax.ai/milestones/workflow/{id}/_set_stage")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["x-api-key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"plan_year\": 123,\n \"resource_id\": \"<string>\",\n \"stage\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"activity": [
{
"_id": "<string>",
"action": "<string>",
"changes": [
{
"data": "<string>",
"field": "<string>",
"from": "<string>",
"to": "<string>"
}
],
"client": "<string>",
"on_id": "<string>",
"on_py": 123,
"on_type": "<string>",
"team": "<string>",
"timestamp": "<string>",
"user": "<string>"
}
],
"ok": true,
"plan_year_project": {
"_id": "<string>",
"access": [
"<string>"
],
"activity": [
{
"_id": "<string>",
"action": "<string>",
"changes": [
{
"data": "<string>",
"field": "<string>",
"from": "<string>",
"to": "<string>"
}
],
"client": "<string>",
"on_id": "<string>",
"on_py": 123,
"on_type": "<string>",
"team": "<string>",
"timestamp": "<string>",
"user": "<string>"
}
],
"billing": {
"amount_override_minor": 123,
"billable": true,
"charge": "<string>",
"configuration_source": "<string>",
"contract_amount_minor": 123,
"decision_at": "<string>",
"decision_by": "<string>",
"decision_reason": "<string>",
"default_quantity": {},
"fee_item": "<string>",
"invoice": "<string>",
"occurrence_key": "<string>",
"override_at": "<string>",
"override_by": "<string>",
"override_reason": "<string>",
"quantity": {},
"quantity_field_key": "<string>",
"revision": 123,
"service_date": "<string>",
"status": "<string>"
},
"category": "<string>",
"client": "<string>",
"client_name": "<string>",
"comments": [
{
"_id": "<string>",
"client": "<string>",
"content": "<string>",
"deleted_at": "<string>",
"likes": [
"<string>"
],
"on_id": "<string>",
"on_type": "<string>",
"reply_to": "<string>",
"team": "<string>",
"timestamp": "<string>",
"user": "<string>"
}
],
"completed_at": "<string>",
"created_at": "<string>",
"deal": "<string>",
"deal_name": "<string>",
"deal_object": {
"_id": "<string>",
"client": "<string>",
"close_date": "<string>",
"close_probability": 123,
"closed_at": "<string>",
"closed_reason": "<string>",
"closed_reason_detail": "<string>",
"created_at": "<string>",
"deleted_at": "<string>",
"ein": "<string>",
"funnel": "<string>",
"last_activity": "<string>",
"n_messages": 123,
"n_tasks": 123,
"name": "<string>",
"owner": "<string>",
"plan": "<string>",
"plan_number": "<string>",
"proposal_count": 123,
"proposals": [
{
"_id": "<string>",
"created_at": "<string>",
"name": "<string>",
"plan_type": "<string>",
"progress": 123,
"status": "<string>",
"updated_at": "<string>"
}
],
"pulse": 123,
"source": "<string>",
"stage": "<string>",
"status": "<string>",
"tags": [
"<string>"
],
"team": "<string>",
"unread": true,
"value": 123
},
"deleted_at": "<string>",
"description": "<string>",
"due": "<string>",
"effective_billing_fee_item": "<string>",
"effective_billing_fee_item_name": "<string>",
"fields": [
{
"key": "<string>",
"value": "<unknown>"
}
],
"hours_logged": 123,
"in_queue": true,
"incomplete_tasks": 123,
"lead": "<string>",
"lead_group": "<string>",
"next": {
"_id": "<string>",
"access": [
"<string>"
],
"activity": [
{
"_id": "<string>",
"action": "<string>",
"changes": [
{
"data": "<string>",
"field": "<string>",
"from": "<string>",
"to": "<string>"
}
],
"client": "<string>",
"on_id": "<string>",
"on_py": 123,
"on_type": "<string>",
"team": "<string>",
"timestamp": "<string>",
"user": "<string>"
}
],
"assignee": "<string>",
"automation": "<string>",
"automation_config": [
{
"key": "<string>",
"value": "<unknown>"
}
],
"automation_data": "<unknown>",
"automation_logs": [
{
"code": "<string>",
"execution_time": 123,
"message": "<string>",
"timestamp": "<string>",
"traceback": "<string>",
"type": "<string>"
}
],
"automation_timing": {
"anchor": "<string>",
"date": "<string>",
"run_after_days": 123,
"run_hour": 123
},
"billable": true,
"blocked_fields": [
"<string>"
],
"client": "<string>",
"client_task_data": {
"allow_skip_census_upload": "<string>",
"census_upload_instructions": "<string>",
"census_v2_employee_data_policy": "any",
"census_v2_export_field": "<string>",
"census_v2_export_file_type": "<string>",
"census_v2_flow_preset": "company_contacts_ownership_payroll_census",
"destination": "<string>",
"download_file": "<string>",
"file_upload": "<string>",
"follow_up_interval": 123,
"follow_up_to": [
"<string>"
],
"form_file": "<string>",
"form_response": "<string>",
"form_template": "<string>",
"last_follow_up": "<string>",
"notice_file": "<string>",
"payroll_connect_instructions": "<string>",
"payroll_enabled": "<string>",
"payroll_upload_instructions": "<string>",
"py": "<string>",
"url": "<string>",
"w2_upload_instructions": "<string>"
},
"client_task_type": "<string>",
"completed_at": "<string>",
"created_at": "<string>",
"deleted_at": "<string>",
"description": "<string>",
"due": "<string>",
"fields_to_complete": [
"<string>"
],
"flagged_at": "<string>",
"in_queue": true,
"internal_task_data": {
"efast_data": {
"attachments": [
"<unknown>"
],
"dcg_attachments": [
"<unknown>"
],
"file_names": [
"<string>"
],
"form": "<string>",
"schedule_instances": {},
"schedules": [
"<string>"
]
},
"form_id": "<string>",
"py": "<string>",
"task_type": "<string>",
"url": "<string>"
},
"internal_task_type": "<string>",
"log_completion_to": "<string>",
"log_completion_type": "<string>",
"meeting": {
"_id": "<string>",
"added_tasks": [
"<string>"
],
"attendees": [
{
"address": "<string>",
"name": "<string>",
"user": "<string>"
}
],
"client": "<string>",
"created_at": "<string>",
"date": "<string>",
"deleted_at": "<string>",
"duration": 123,
"format": "<string>",
"location": "<string>",
"notes": "<string>",
"raw_transcript": "<string>",
"tasks": [
"<string>"
],
"team": "<string>",
"transcript": [
{
"speaker": "<string>",
"text": "<string>",
"timestamp": 123
}
]
},
"message": {
"_id": "<string>",
"attachments": [
{
"content_id": "<string>",
"file": "<string>",
"filename": "<string>",
"isInline": true,
"size": 123,
"source_id": "<string>",
"url": "<string>"
}
],
"bcc": "<string>",
"bookmark": true,
"brief": "<string>",
"cc": "<string>",
"checksum": "<string>",
"clients": [
"<string>"
],
"created_at": "<string>",
"date": "<string>",
"deleted_at": "<string>",
"domains": [
"<string>"
],
"draft": true,
"from": "<string>",
"html": "<string>",
"importance": 123,
"in_reply_to": "<string>",
"internal": true,
"message_folders": [
"<string>"
],
"outbox": true,
"private": true,
"read": "<string>",
"references": "<string>",
"reply": "<string>",
"requires_response": true,
"responses": [
"<string>"
],
"safe_for_everyone": true,
"schedule_id": "<string>",
"schedule_send_at": "<string>",
"secure": true,
"send_failed": true,
"send_scheduled": true,
"send_state": "<string>",
"sentiment": 123,
"source": "<string>",
"source_history_id": "<string>",
"source_id": "<string>",
"subject": "<string>",
"summary": [
"<string>"
],
"tags": [
"<string>"
],
"tasks": [
"<string>"
],
"team": "<string>",
"text": "<string>",
"thread": "<string>",
"to": "<string>",
"unique_key": "<string>",
"user": "<string>"
},
"next_at": "<string>",
"notes": "<string>",
"order": 123,
"plan": "<string>",
"priority": 123,
"project": "<string>",
"queue_group": "<string>",
"queued_at": "<string>",
"scheduled_at": "<string>",
"started_at": "<string>",
"suggestion": 123,
"team": "<string>",
"team_wide_access": true,
"template": "<string>",
"work_logs": [
{
"_id": "<string>",
"ended_at": "<string>",
"notes": "<string>",
"started_at": "<string>",
"time_spent": 123,
"user": "<string>"
}
]
},
"plan": "<string>",
"plan_name": "<string>",
"queued_at": "<string>",
"starred": [
"<string>"
],
"status": "<string>",
"tags": [
"<string>"
],
"tasks": [
{
"_id": "<string>",
"access": [
"<string>"
],
"activity": [
{
"_id": "<string>",
"action": "<string>",
"changes": [
{
"data": "<string>",
"field": "<string>",
"from": "<string>",
"to": "<string>"
}
],
"client": "<string>",
"on_id": "<string>",
"on_py": 123,
"on_type": "<string>",
"team": "<string>",
"timestamp": "<string>",
"user": "<string>"
}
],
"assignee": "<string>",
"automation": "<string>",
"automation_config": [
{
"key": "<string>",
"value": "<unknown>"
}
],
"automation_data": "<unknown>",
"automation_logs": [
{
"code": "<string>",
"execution_time": 123,
"message": "<string>",
"timestamp": "<string>",
"traceback": "<string>",
"type": "<string>"
}
],
"automation_timing": {
"anchor": "<string>",
"date": "<string>",
"run_after_days": 123,
"run_hour": 123
},
"billable": true,
"blocked_fields": [
"<string>"
],
"client": "<string>",
"client_task_data": {
"allow_skip_census_upload": "<string>",
"census_upload_instructions": "<string>",
"census_v2_employee_data_policy": "any",
"census_v2_export_field": "<string>",
"census_v2_export_file_type": "<string>",
"census_v2_flow_preset": "company_contacts_ownership_payroll_census",
"destination": "<string>",
"download_file": "<string>",
"file_upload": "<string>",
"follow_up_interval": 123,
"follow_up_to": [
"<string>"
],
"form_file": "<string>",
"form_response": "<string>",
"form_template": "<string>",
"last_follow_up": "<string>",
"notice_file": "<string>",
"payroll_connect_instructions": "<string>",
"payroll_enabled": "<string>",
"payroll_upload_instructions": "<string>",
"py": "<string>",
"url": "<string>",
"w2_upload_instructions": "<string>"
},
"client_task_type": "<string>",
"completed_at": "<string>",
"created_at": "<string>",
"deleted_at": "<string>",
"description": "<string>",
"due": "<string>",
"fields_to_complete": [
"<string>"
],
"flagged_at": "<string>",
"in_queue": true,
"internal_task_data": {
"efast_data": {
"attachments": [
"<unknown>"
],
"dcg_attachments": [
"<unknown>"
],
"file_names": [
"<string>"
],
"form": "<string>",
"schedule_instances": {},
"schedules": [
"<string>"
]
},
"form_id": "<string>",
"py": "<string>",
"task_type": "<string>",
"url": "<string>"
},
"internal_task_type": "<string>",
"log_completion_to": "<string>",
"log_completion_type": "<string>",
"meeting": {
"_id": "<string>",
"added_tasks": [
"<string>"
],
"attendees": [
{
"address": "<string>",
"name": "<string>",
"user": "<string>"
}
],
"client": "<string>",
"created_at": "<string>",
"date": "<string>",
"deleted_at": "<string>",
"duration": 123,
"format": "<string>",
"location": "<string>",
"notes": "<string>",
"raw_transcript": "<string>",
"tasks": [
"<string>"
],
"team": "<string>",
"transcript": [
{
"speaker": "<string>",
"text": "<string>",
"timestamp": 123
}
]
},
"message": {
"_id": "<string>",
"attachments": [
{
"content_id": "<string>",
"file": "<string>",
"filename": "<string>",
"isInline": true,
"size": 123,
"source_id": "<string>",
"url": "<string>"
}
],
"bcc": "<string>",
"bookmark": true,
"brief": "<string>",
"cc": "<string>",
"checksum": "<string>",
"clients": [
"<string>"
],
"created_at": "<string>",
"date": "<string>",
"deleted_at": "<string>",
"domains": [
"<string>"
],
"draft": true,
"from": "<string>",
"html": "<string>",
"importance": 123,
"in_reply_to": "<string>",
"internal": true,
"message_folders": [
"<string>"
],
"outbox": true,
"private": true,
"read": "<string>",
"references": "<string>",
"reply": "<string>",
"requires_response": true,
"responses": [
"<string>"
],
"safe_for_everyone": true,
"schedule_id": "<string>",
"schedule_send_at": "<string>",
"secure": true,
"send_failed": true,
"send_scheduled": true,
"send_state": "<string>",
"sentiment": 123,
"source": "<string>",
"source_history_id": "<string>",
"source_id": "<string>",
"subject": "<string>",
"summary": [
"<string>"
],
"tags": [
"<string>"
],
"tasks": [
"<string>"
],
"team": "<string>",
"text": "<string>",
"thread": "<string>",
"to": "<string>",
"unique_key": "<string>",
"user": "<string>"
},
"next_at": "<string>",
"notes": "<string>",
"order": 123,
"plan": "<string>",
"priority": 123,
"project": "<string>",
"queue_group": "<string>",
"queued_at": "<string>",
"scheduled_at": "<string>",
"started_at": "<string>",
"suggestion": 123,
"team": "<string>",
"team_wide_access": true,
"template": "<string>",
"work_logs": [
{
"_id": "<string>",
"ended_at": "<string>",
"notes": "<string>",
"started_at": "<string>",
"time_spent": 123,
"user": "<string>"
}
]
}
],
"team": "<string>",
"team_wide_access": true,
"template": "<string>",
"title": "<string>",
"total_tasks": 123,
"view": "<string>"
}
}{}{}{}{}Authorizations
Body
application/json
Resource and target stage (stage is the milestone data_field_key)