> ## Documentation Index
> Fetch the complete documentation index at: https://deepline.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Unipile: Linkedin Update Job Posting

> Changes an existing LinkedIn job posting in the customer’s account. Includes SDK V2 guidance, input constraints, response fields, and Deepline credit cost.

Changes an existing LinkedIn job posting in the customer’s account.

> [!NOTE]
>
> Tool ID: `unipile_linkedin_update_job_posting`

## Run this action

Use the TypeScript SDK for one call. Use `ctx.tools.execute(...)` inside a Play for durable calls, scheduled calls, or CSV processing.

```ts theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
import { Deepline } from 'deepline';

const deepline = await Deepline.connect();
const result = await deepline.tools.execute(
  'unipile_linkedin_update_job_posting',
  {
    "job_id": "job_123",
    "account_id": "123456789"
  },
);

console.log(result.toolResponse.raw);
```

### CLI

```bash theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
deepline tools execute unipile_linkedin_update_job_posting --input '{
  "job_id": "job_123",
  "account_id": "123456789"
}' --json
```

## Example response

The SDK returns this shape at `result.toolResponse.raw`. The example values illustrate the response.

```json theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
{
  "data": {
    "object": "LinkedinJobPostingEdited",
    "job_id": "job_123"
  }
}
```

Use `deepline describe unipile_linkedin_update_job_posting --json` for the latest machine-readable contract.

## Input reference

Edit an existing job posting.

| Name | Type | Required | Default | Details |
| - | - | - | - | - |
| `payload.job_id` | `string` | Yes | — | The id of the job to edit. |
| `payload.job_title` | `object` | No | — | — |
| `payload.company` | `object` | No | — | — |
| `payload.workplace` | `"ON_SITE" \| "HYBRID" \| "REMOTE"` | No | — | Allowed: `ON_SITE`, `HYBRID`, `REMOTE`. |
| `payload.location` | `string` | No | — | The ID of the parameter. Use type LOCATION on the List search parameters route to find out the right ID. Pattern: `^\d+$`. |
| `payload.employment_status` | `"FULL_TIME" \| "PART_TIME" \| "CONTRACT" \| "TEMPORARY" \| "OTHER" \| "VOLUNTEER" \| "INTERNSHIP"` | No | — | Allowed: `FULL_TIME`, `PART_TIME`, `CONTRACT`, `TEMPORARY`, `OTHER`, `VOLUNTEER`, `INTERNSHIP`. |
| `payload.description` | `string` | No | — | You can use HTML tags to structure your description. |
| `payload.auto_rejection_template` | `string` | No | — | You can define a rejection message template to be automatically sent to applicants that don't pass screening questions. |
| `payload.screening_questions` | `array` | No | — | — |
| `payload.apply_method` | `object` | No | — | — |
| `payload.account_id` | `string` | Yes | — | An Unipile account id. Minimum length: 1. |
| `payload.recruiter` | `object` | No | — | — |

<details>
  <summary>Show raw input schema</summary>

  ### Input JSON Schema

  ```json theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
  {
    "type": "object",
    "description": "Edit an existing job posting.",
    "properties": {
      "job_id": {
        "type": "string",
        "description": "The id of the job to edit."
      },
      "job_title": {
        "type": "object",
        "minProperties": 1,
        "properties": {
          "id": {
            "type": "string",
            "description": "The ID of the parameter. Use type JOB_TITLE on the List search parameters route to find out the right ID.",
            "pattern": "^\\d+$"
          },
          "text": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "company": {
        "type": "object",
        "minProperties": 1,
        "properties": {
          "id": {
            "type": "string",
            "description": "The ID of the parameter. Use type COMPANY on the List search parameters route to find out the right ID.",
            "pattern": "^\\d+$"
          },
          "text": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "workplace": {
        "type": "string",
        "enum": [
          "ON_SITE",
          "HYBRID",
          "REMOTE"
        ]
      },
      "location": {
        "type": "string",
        "description": "The ID of the parameter. Use type LOCATION on the List search parameters route to find out the right ID.",
        "pattern": "^\\d+$"
      },
      "employment_status": {
        "type": "string",
        "enum": [
          "FULL_TIME",
          "PART_TIME",
          "CONTRACT",
          "TEMPORARY",
          "OTHER",
          "VOLUNTEER",
          "INTERNSHIP"
        ]
      },
      "description": {
        "type": "string",
        "description": "You can use HTML tags to structure your description."
      },
      "auto_rejection_template": {
        "type": "string",
        "description": "You can define a rejection message template to be automatically sent to applicants that don't pass screening questions."
      },
      "screening_questions": {
        "type": "array",
        "items": {
          "anyOf": [
            {
              "type": "object",
              "properties": {
                "question": {
                  "type": "string"
                },
                "position": {
                  "type": "number",
                  "description": "The position of the question in the list. Overrides the index of the question in the array."
                },
                "must_match": {
                  "type": "boolean",
                  "description": "Whether an answer that doesn't perfectly match the expected is disqualifying or not."
                },
                "answer_type": {
                  "type": "string",
                  "enum": [
                    "numeric"
                  ]
                },
                "min_expectation": {
                  "type": "number"
                },
                "max_expectation": {
                  "type": "number"
                }
              },
              "required": [
                "question",
                "answer_type"
              ],
              "additionalProperties": false
            },
            {
              "type": "object",
              "properties": {
                "question": {
                  "type": "string"
                },
                "position": {
                  "type": "number",
                  "description": "The position of the question in the list. Overrides the index of the question in the array."
                },
                "must_match": {
                  "type": "boolean",
                  "description": "Whether an answer that doesn't perfectly match the expected is disqualifying or not."
                },
                "answer_type": {
                  "type": "string",
                  "enum": [
                    "multiple_choices"
                  ]
                },
                "choices": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                },
                "expected_choices": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                }
              },
              "required": [
                "question",
                "answer_type",
                "choices",
                "expected_choices"
              ],
              "additionalProperties": false
            }
          ]
        }
      },
      "apply_method": {
        "anyOf": [
          {
            "type": "object",
            "properties": {
              "type": {
                "type": "string",
                "enum": [
                  "linkedin"
                ]
              },
              "notification_email": {
                "type": "string"
              }
            },
            "required": [
              "type",
              "notification_email"
            ],
            "additionalProperties": false
          },
          {
            "type": "object",
            "properties": {
              "type": {
                "type": "string",
                "enum": [
                  "external"
                ]
              },
              "url": {
                "type": "string"
              }
            },
            "required": [
              "type",
              "url"
            ],
            "additionalProperties": false
          }
        ]
      },
      "account_id": {
        "type": "string",
        "description": "An Unipile account id.",
        "minLength": 1
      },
      "recruiter": {
        "type": "object",
        "properties": {
          "functions": {
            "type": "array",
            "description": "The ID of the parameter. Use type JOB_FUNCTION on the List search parameters route to find out the right ID. Linkedin native field : Job function.",
            "minItems": 1,
            "maxItems": 3,
            "items": {
              "type": "string",
              "pattern": "^[a-z]+$"
            }
          },
          "industries": {
            "type": "array",
            "description": "The ID of the parameter. Use type INDUSTRY on the List search parameters route to find out the right ID. Linkedin native field : Company industry.",
            "minItems": 1,
            "maxItems": 3,
            "items": {
              "type": "string",
              "pattern": "^\\d+$"
            }
          },
          "skills": {
            "type": "array",
            "description": "The ID of the parameter. Use type SKILL on the List search parameters route to find out the right ID. Linkedin native field : Skills.",
            "minItems": 1,
            "maxItems": 10,
            "items": {
              "type": "string",
              "pattern": "^\\d+$"
            }
          },
          "seniority": {
            "type": "string",
            "enum": [
              "INTERNSHIP",
              "ENTRY_LEVEL",
              "ASSOCIATE",
              "MID_SENIOR_LEVEL",
              "DIRECTOR",
              "EXECUTIVE",
              "NOT_APPLICABLE"
            ]
          },
          "include_poster_info": {
            "type": "boolean",
            "description": "Show profile on the job post.",
            "default": true
          },
          "tracking_pixel_url": {
            "type": "string",
            "description": "Enter a URL for impression tracking"
          },
          "company_job_id": {
            "type": "string",
            "description": "Employer job ID for impression tracking"
          },
          "apply_method": {
            "anyOf": [
              {
                "type": "object",
                "properties": {
                  "type": {
                    "type": "string",
                    "enum": [
                      "linkedin"
                    ]
                  },
                  "notification_email": {
                    "type": "string"
                  },
                  "resume_required": {
                    "type": "boolean"
                  }
                },
                "required": [
                  "type",
                  "notification_email",
                  "resume_required"
                ],
                "additionalProperties": false
              },
              {
                "type": "object",
                "properties": {
                  "type": {
                    "type": "string",
                    "enum": [
                      "external"
                    ]
                  },
                  "url": {
                    "type": "string"
                  }
                },
                "required": [
                  "type",
                  "url"
                ],
                "additionalProperties": false
              }
            ]
          },
          "salary": {
            "type": "object",
            "properties": {
              "currency": {
                "type": "string"
              },
              "min": {
                "type": "number"
              },
              "max": {
                "type": "number"
              },
              "pay_frequency": {
                "type": "string",
                "enum": [
                  "YEARLY",
                  "MONTHLY",
                  "HOURLY"
                ]
              }
            },
            "required": [
              "currency",
              "min",
              "max",
              "pay_frequency"
            ],
            "additionalProperties": false
          },
          "additional_compensation": {
            "type": "object",
            "properties": {
              "currency": {
                "type": "string"
              },
              "min": {
                "type": "number"
              },
              "max": {
                "type": "number"
              },
              "pay_frequency": {
                "type": "string",
                "enum": [
                  "YEARLY",
                  "MONTHLY",
                  "HOURLY"
                ]
              }
            },
            "required": [
              "currency",
              "min",
              "max",
              "pay_frequency"
            ],
            "additionalProperties": false
          },
          "auto_archive_applicants": {
            "type": "object",
            "description": "Linkedin native field : Qualification setting.",
            "properties": {
              "screening_questions": {
                "type": "boolean",
                "description": "Auto archive applicants who don’t meet any must-have screening questions.",
                "default": true
              },
              "outside_of_country": {
                "type": "boolean",
                "description": "Auto archive applicants who are outside of the country for which you are hiring.",
                "default": true
              }
            },
            "additionalProperties": false
          },
          "send_rejection_notification": {
            "type": "boolean",
            "description": "Linkedin native field : Send rejection notification.",
            "default": true
          },
          "project_id": {
            "type": "string",
            "description": "The ID of the project the offer is linked to."
          }
        },
        "required": [
          "project_id"
        ],
        "additionalProperties": false
      }
    },
    "required": [
      "job_id",
      "account_id"
    ],
    "additionalProperties": false
  }
  ```
</details>

## Output reference

Standard tool result payload.

| Name | Type | Required | Default | Details |
| - | - | - | - | - |
| `result.data` | `object` | Yes | — | Provider response payload. |
| `result.data.object` | `"LinkedinJobPostingEdited"` | Yes | — | Allowed: `LinkedinJobPostingEdited`. |
| `result.data.job_id` | `string` | Yes | — | — |
| `result.meta` | `object` | No | — | Additional response metadata (status, paging). |

<details>
  <summary>Show raw output schema</summary>

  ### Output JSON Schema

  ```json theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
  {
    "type": "object",
    "description": "Standard tool result payload.",
    "properties": {
      "data": {
        "type": "object",
        "description": "Provider response payload.",
        "properties": {
          "object": {
            "type": "string",
            "enum": [
              "LinkedinJobPostingEdited"
            ]
          },
          "job_id": {
            "type": "string"
          }
        },
        "required": [
          "object",
          "job_id"
        ],
        "additionalProperties": false
      },
      "meta": {
        "type": "object",
        "description": "Additional response metadata (status, paging).",
        "additionalProperties": true
      }
    },
    "required": [
      "data"
    ],
    "additionalProperties": false
  }
  ```
</details>

## Deepline cost

* Pricing model: `fixed` (per call).
* Estimated Deepline credits: `0` per pricing unit.
* Provider-native pricing may still exist outside Deepline credit billing.

## Related documentation

* [Unipile provider guide](https://deepline.com/docs/providers/unipile/guide.md)
* [SDK V2 quickstart](https://deepline.com/docs/sdk-v2/quickstart.md)
* [SDK reference](https://deepline.com/docs/sdk-v2/sdk-reference.md)
* [Run tools across a CSV](https://deepline.com/docs/sdk-v2/batch-csv.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.