Skip to content

Project Templates API: Update milestone and ordering

PropertyValue
Typemutation
MethodPOST
Path/api/external/v1/project_templates/update_milestone_and_ordering
HandlerOperatelyWeb.Api.ProjectTemplates.UpdateMilestoneAndOrdering
  • Requires a valid API token.
  • Requires a write-enabled token.
  • Read-only tokens return 403.
FieldTypeRequiredNullableDefault
template_idid primitive (encoded as string)YesNo-
task_idid primitive (encoded as string)YesNo-
milestone_idid primitive (encoded as string)YesYes-
indexintegerYesNo-
FieldTypeRequiredNullable
taskproject_template_task objectYesNo
Copied
curl --request POST \
  --url "https://app.operately.com/api/external/v1/project_templates/update_milestone_and_ordering" \
  --header "Authorization: Bearer ${OPERATELY_API_TOKEN}" \
  --header "Content-Type: application/json" \
  --data '{"index":123, "milestone_id":"value", "task_id":"value", "template_id":"value"}'
{
"task": {
"__typename": "value",
"description": "value",
"due_offset_days": 123,
"id": "value",
"inserted_at": "2026-01-01T09:30:00Z",
"name": "value",
"priority": "value",
"project_template_id": "value",
"project_template_milestone_id": "value",
"reminders": [
"<task_reminder>"
],
"size": "value",
"task_status": "<task_status>",
"updated_at": "2026-01-01T09:30:00Z"
}
}