Move a task through its own lifecycle. Pausing hides it from assignees; cancelling cascades a cancel to open assignments.
Move a task through its own lifecycle. Pausing hides it from assignees; cancelling cascades a cancel to open assignments.
POST
https://app.softsolz.uk/api/v1/services/tasks/tasks/{id}/statusRecent Requests
Log in to see full request historyTimeStatusUser Agent
Make a request to see history.
Path Params
idstringrequiredHeaders
AuthorizationstringrequiredBearer token: `Bearer sk_live_...` (or `sk_test_...` for sandbox). A login token will not work here.
Idempotency-KeystringOptional idempotency key for safe retries.
Body Params
statusstringTarget status.
reasonstringRecorded against every affected assignment.
Response
Response Body
idintegerTask id.category_idinteger | nullCategory this task belongs to.titlestringTask title.instructionsstring | nullWhat the assignee has to do.prioritystringUrgency of the work.statusstringTask lifecycle, separate from assignment status. Paused hides the task from assignees; cancelled cascades to open assignments.due_atstring | nullDefault deadline, overridable per assignment.schedule_modestringone_time exists once, scheduled starts at starts_at, recurring is a definition that generates occurrences.starts_atstring | nullWhen a scheduled task becomes visible to assignees.submission_modestringWhat the assignee must send back.required_filesintegerMinimum number of files a submission must carry.allowed_submission_countinteger | nullMaximum attempts; null means unlimited resubmissions.allow_late_submissionbooleanWhether work may still be submitted after the deadline.grading_schemestring | nullOverrides the category scheme; null inherits it.max_scorenumber | nullDenominator for points, percentage and letter schemes.weightnumberWeight of this task in its category rollup. Defaults to 1.rubricarray of objectsCriteria for the rubric scheme: { id, label, max_score, weight }.checklistarray of objectsSteps the assignee ticks off: { id, label, required, requires_note, requires_file }.attachmentsarray of objectsReference material supplied with the task.custom_fieldsobjectValues for the workspace-defined fields on this task.sourcestringWhere the task came from (manual, api, form, template, schedule).template_idinteger | nullThe template this task was created from.assignment_countintegerHow many people this task is assigned to.created_atstringCreation timestamp.updated_atstringRound-trip as expected_updated_at to guard against stale writes.Request
import { SoftSolz } from '@softsolz/sdk';
const client = new SoftSolz({ apiKey: process.env.SOFTSOLZ_API_KEY });
const result = await client.tasks.createTaskStatus('<id>', {});console.log(result);Credentials
Sent as a Bearer token. Stored only in your browser.
Response · 200
{ "data": { "id": 0, "category_id": 0, "title": "string", "instructions": "string", "priority": "string", "status": "string", "due_at": "string", "schedule_mode": "string", "starts_at": "string", "submission_mode": "string", "required_files": 0, "allowed_submission_count": 0, "allow_late_submission": true, "grading_scheme": "string", "max_score": "string", "weight": 0, "rubric": [], "checklist": [], "attachments": [], "custom_fields": {}, "source": "string", "template_id": 0, "assignment_count": 0, "created_at": "string", "updated_at": "string" }}