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.
POST
https://app.softsolz.uk/api/v1/services/tasks/assignments/{id}/submitRecent 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.
Body Params
notestringWhat the assignee wants the reviewer to know.
custom_fieldsobjectValues for the required fields.
checklist_statearray of objectsTicked 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" }}