SoftSolzSoftSolz
HomeAPI GuideAPI ReferenceWidget Tester
tasks

Submit work. Creates the next attempt. Files are sent as multipart/form-data parts named "files"; everything else is JSON.

Submit work. Creates the next attempt. Files are sent as multipart/form-data parts named "files"; everything else is JSON.

POSThttps://app.softsolz.uk/api/v1/services/tasks/assignments/{id}/submit

Recent Requests

Log in to see full request history
TimeStatusUser Agent
Make a request to see history.

Path Params

idstringrequired

Headers

Authorizationstringrequired

Bearer token: `Bearer sk_live_...` (or `sk_test_...` for sandbox). A login token will not work here.

Body Params

notestring

What the assignee wants the reviewer to know.

custom_fieldsobject

Values for the required fields.

checklist_statearray of objects

Ticked steps, replacing the stored state.

Response

Response Body

idintegerSubmission id.
assignment_idintegerParent assignment.
attempt_nointegerWhich attempt this is, starting at 1.
notestring | nullWhat the assignee wrote.
filesarray of objectsUploaded work.
custom_fieldsobjectValues for form-mode submissions.
is_latebooleanSubmitted after the deadline.
submitted_atstringSubmission timestamp.

Request

import { SoftSolz } from '@softsolz/sdk';
const client = new SoftSolz({ apiKey: process.env.SOFTSOLZ_API_KEY });
const result = await client.tasks.submitAssignment('<id>', {});
console.log(result);

Credentials

Sent as a Bearer token. Stored only in your browser.

Response · 201

{
"data": {
"id": 0,
"assignment_id": 0,
"attempt_no": 0,
"note": "string",
"files": [],
"custom_fields": {},
"is_late": true,
"submitted_at": "string"
}
}