# st.saveJob

Save a LinkedIn job so it appears in the account’s job tracker.

> The API Reference is also the SDK and CLI reference. Consecutive code fences marked `tab=HTTP`, `tab=Node`, `tab=Python` and `tab=CLI` are the same call on each surface (a fence marked `tab=HTTP,CLI` is the same text for both), and a block between `:::surface <names>` and `:::` applies only to the surfaces it names. Identifiers in the text are written as in Node and in HTTP JSON (camelCase); the Python SDK spells methods, parameters and result attributes in snake_case (`sendMessage` → `send_message`, `reconnectionLink` → `reconnection_link`), while names inside HTTP JSON stay camelCase.

Save a LinkedIn job. It appears in the `saved` stage of the account’s [job tracker](/docs/tracking-jobs) and can be read back with [`st.retrieveTrackedJobs`](/docs/action-st-retrieve-tracked-jobs).

:::surface node,python
In the SDK this is the `saveJob` 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.
:::

:::surface cli
The command is `linkedin jobs save`. Its argument and flags are listed below.
:::

## Constraints

> ⏺️ **Root Start:** allowed, when `jobUrl` parameter is provided.

> ⬆️ **Parent Actions:** [st.doForJobs](/docs/action-st-do-for-jobs) under [st.searchJobs](/docs/action-st-search-jobs) or [st.retrieveCompanyJobs](/docs/action-st-retrieve-company-jobs).

> ⬇️ **Child Actions:** N/A.

## Parameters

```json tab=HTTP
{
  "actionType": "st.saveJob",
  "label": "saveJob1",
  "jobUrl": "https://www.linkedin.com/jobs/view/4450053454/"
}
```

```typescript tab=Node
const workflow = await linkedapi.saveJob.execute({
  jobUrl: "https://www.linkedin.com/jobs/view/4450053454/"
});

const { errors } = await linkedapi.saveJob.result(workflow.workflowId);
```

```python tab=Python
from linkedapi import SaveJobParams

workflow = linkedapi.save_job.execute(
    SaveJobParams(job_url="https://www.linkedin.com/jobs/view/4450053454/")
)

result = linkedapi.save_job.result(workflow.workflow_id)
```

```bash tab=CLI
linkedin jobs save https://www.linkedin.com/jobs/view/4450053454/ --json
```

In AI assistants, the MCP tool is `save_job`. The n8n action is **Save job**; the Make module is **Save a job**.

| Parameter | Description |
| --- | --- |
| `label` | Optional label included in workflow completion. |
| `jobUrl` | Required for root start, forbidden for parent start. LinkedIn URL of the job, in the `linkedin.com/jobs/view/<id>` form. Under [`st.doForJobs`](/docs/action-st-do-for-jobs), the job comes from the parent's result list. |

:::surface cli
| Arg | Required | Description |
| --- | --- | --- |
| `url` | yes | LinkedIn job URL |
:::

## Saving behaviour

- **Safe to repeat.** Saving a job that is already saved succeeds without changing anything.
- **A re-saved job starts clean.** A job that was deleted or unsaved and is saved again comes back without its earlier applied stamp.

## Saving from a job list

Under [`st.doForJobs`](/docs/action-st-do-for-jobs), whose parent is [`st.searchJobs`](/docs/action-st-search-jobs) or [`st.retrieveCompanyJobs`](/docs/action-st-retrieve-company-jobs), the action saves each job of the parent's list, and the parent's `limit` sets how many. See the [usage example](/docs/action-st-do-for-jobs#usage-examples) that saves a company's jobs posted this week.

## Result options

```json
{
  "actionType": "st.saveJob",
  "label": "saveJob1",
  "success": true
}
```

A successful call has no `data`. `label` is included only if specified in the action parameters.

## Error result

```json
{
  "actionType": "st.saveJob",
  "label": "saveJob1",
  "success": false,
  "error": {
    "type": "jobNotFound",
    "message": "..."
  }
}
```

Possible `error.type` values:

- `jobNotFound` — The job could not be opened or no longer exists.
- `saveControlNotOffered` — The job's saved state cannot be changed.
- `trackerTooLarge` — The job tracker holds too many jobs in this stage to locate this job.
- `unexpectedError` — The change could not be completed.
