st.unarchiveJob
Take a job out of the archived stage of the account’s job tracker and into the stage you name.
In the SDK this is the unarchiveJob method. It takes the parameters below except label, which exists only in workflow JSON. It returns no data: a failed action comes back in errors, with one of the error types below.
The command is linkedin jobs unarchive. Its argument and flags are listed below.
Constraints
⏺️ Root Start: allowed.
⬆️ Parent Actions: N/A.
⬇️ Child Actions: N/A.
Parameters
{
"actionType": "st.unarchiveJob",
"label": "unarchiveJob1",
"jobUrl": "https://www.linkedin.com/jobs/view/4450053454/",
"stage": "saved"
}In AI assistants, the MCP tool is unarchive_job. The n8n action is Unarchive job; the Make module is Unarchive a job.
| Parameter | Description |
|---|---|
label | Optional label included in workflow completion. |
jobUrl | Required. LinkedIn URL of the job, in the linkedin.com/jobs/view/<id> form. |
stage | Required. The stage to unarchive into: saved, inProgress, applied or interview. |
| Arg | Required | Description |
|---|---|---|
url | yes | LinkedIn job URL |
| Flag | Description |
|---|---|
--stage | Required. saved, inProgress, applied or interview. |
Unarchiving behaviour
- The destination is required. LinkedIn asks which stage to unarchive into, so there is no default.
- LinkedIn decides which stages it offers for each job. A stage it does not offer returns
stageNotAvailable, and nothing is changed. To move an archived job to an earlier stage, unarchive it toappliedand move it from there withst.setJobStage. - After
stageNotHonoured, the job has moved. Do not retry: read it back withst.retrieveTrackedJobsto see which stage it is in now. - Safe to repeat, and only for an archived job. A job already in the stage you name succeeds without changing anything. A job in any other stage returns
jobNotArchived; to move it, usest.setJobStage.
Result options
json
{
"actionType": "st.unarchiveJob",
"label": "unarchiveJob1",
"success": true
}A successful call has no data. label is included only if specified in the action parameters.
Error result
json
{
"actionType": "st.unarchiveJob",
"label": "unarchiveJob1",
"success": false,
"error": {
"type": "jobNotArchived",
"message": "..."
}
}Possible error.type values:
jobNotArchived— The job is not archived.jobNotFound— The job could not be opened or no longer exists.stageNotAvailable— This stage is not available for this job.stageNotHonoured— The job was moved, but to a stage other than the one requested.trackerTooLarge— The job tracker holds too many jobs in this stage to locate this job.unexpectedError— The change could not be completed.