> ## 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 Create Job Posting

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

Creates a LinkedIn job posting draft in the customer’s account.

> [!NOTE]
>
> Tool ID: `unipile_linkedin_create_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_create_job_posting',
  {
    "account_id": "123456789",
    "job_title": {
      "id": "123",
      "text": "example"
    },
    "company": {
      "id": "123",
      "text": "example"
    },
    "workplace": "ON_SITE",
    "location": "123",
    "description": "Example description"
  },
);

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

### CLI

```bash theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
deepline tools execute unipile_linkedin_create_job_posting --input '{
  "account_id": "123456789",
  "job_title": {
    "id": "123",
    "text": "example"
  },
  "company": {
    "id": "123",
    "text": "example"
  },
  "workplace": "ON_SITE",
  "location": "123",
  "description": "Example description"
}' --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": "LinkedinJobPostingDraftCreated",
    "job_id": "job_123",
    "publish_options": {
      "free": {
        "eligible": true,
        "ineligible_reason": "example",
        "estimated_monthly_applicants": 123
      },
      "promoted": {
        "estimated_monthly_applicants": 123,
        "currency": "example",
        "daily_budget": {
          "min": 123,
          "max": 123,
          "recommended": 123
        },
        "monthly_budget": {
          "min": 123,
          "max": 123,
          "recommended": 123
        }
      }
    }
  }
}
```

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

## Input reference

Create a new job offer draft.

| Name | Type | Required | Default | Details |
| - | - | - | - | - |
| `payload.account_id` | `string` | Yes | — | An Unipile account id. Minimum length: 1. |
| `payload.job_title` | `object` | Yes | — | — |
| `payload.company` | `object` | Yes | — | — |
| `payload.workplace` | `"ON_SITE" \| "HYBRID" \| "REMOTE"` | Yes | — | Allowed: `ON_SITE`, `HYBRID`, `REMOTE`. |
| `payload.location` | `string` | Yes | — | 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` | Yes | — | 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.recruiter` | `object` | No | — | — |

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

  ### Input JSON Schema

  ```json theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
  {
    "type": "object",
    "description": "Create a new job offer draft.",
    "properties": {
      "account_id": {
        "type": "string",
        "description": "An Unipile account id.",
        "minLength": 1
      },
      "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
          }
        ]
      },
      "recruiter": {
        "type": "object",
        "properties": {
          "project": {
            "anyOf": [
              {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "string"
                  }
                },
                "required": [
                  "id"
                ],
                "additionalProperties": false
              },
              {
                "type": "object",
                "properties": {
                  "name": {
                    "type": "string"
                  }
                },
                "required": [
                  "name"
                ],
                "additionalProperties": false
              }
            ]
          },
          "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
          }
        },
        "required": [
          "project",
          "functions",
          "industries",
          "seniority",
          "apply_method"
        ],
        "additionalProperties": false
      }
    },
    "required": [
      "account_id",
      "job_title",
      "company",
      "workplace",
      "location",
      "description"
    ],
    "additionalProperties": false
  }
  ```
</details>

## Output reference

Standard tool result payload.

| Name | Type | Required | Default | Details |
| - | - | - | - | - |
| `result.data` | `object` | Yes | — | Provider response payload. |
| `result.data.object` | `"LinkedinJobPostingDraftCreated"` | Yes | — | Allowed: `LinkedinJobPostingDraftCreated`. |
| `result.data.job_id` | `string` | Yes | — | — |
| `result.data.project_id` | `string` | No | — | The ID of the Project for Recruiter job postings. |
| `result.data.publish_options` | `object` | Yes | — | — |
| `result.data.publish_options.free` | `object` | Yes | — | — |
| `result.data.publish_options.free.eligible` | `boolean` | Yes | — | Whether the user is authorized to publish this job offer for free. |
| `result.data.publish_options.free.ineligible_reason` | `string \| null` | Yes | — | — |
| `result.data.publish_options.free.estimated_monthly_applicants` | `number` | Yes | — | — |
| `result.data.publish_options.promoted` | `object` | Yes | — | — |
| `result.data.publish_options.promoted.estimated_monthly_applicants` | `number` | Yes | — | — |
| `result.data.publish_options.promoted.currency` | `string` | Yes | — | — |
| `result.data.publish_options.promoted.daily_budget` | `object` | Yes | — | — |
| `result.data.publish_options.promoted.daily_budget.min` | `number` | Yes | — | — |
| `result.data.publish_options.promoted.daily_budget.max` | `number` | Yes | — | — |
| `result.data.publish_options.promoted.daily_budget.recommended` | `number` | Yes | — | — |
| `result.data.publish_options.promoted.monthly_budget` | `object` | Yes | — | — |
| `result.data.publish_options.promoted.monthly_budget.min` | `number` | Yes | — | — |
| `result.data.publish_options.promoted.monthly_budget.max` | `number` | Yes | — | — |
| `result.data.publish_options.promoted.monthly_budget.recommended` | `number` | 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": [
              "LinkedinJobPostingDraftCreated"
            ]
          },
          "job_id": {
            "type": "string"
          },
          "project_id": {
            "type": "string",
            "description": "The ID of the Project for Recruiter job postings."
          },
          "publish_options": {
            "type": "object",
            "properties": {
              "free": {
                "type": "object",
                "properties": {
                  "eligible": {
                    "type": "boolean",
                    "description": "Whether the user is authorized to publish this job offer for free."
                  },
                  "ineligible_reason": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "estimated_monthly_applicants": {
                    "type": "number"
                  }
                },
                "required": [
                  "eligible",
                  "ineligible_reason",
                  "estimated_monthly_applicants"
                ],
                "additionalProperties": false
              },
              "promoted": {
                "type": "object",
                "properties": {
                  "estimated_monthly_applicants": {
                    "type": "number"
                  },
                  "currency": {
                    "type": "string"
                  },
                  "daily_budget": {
                    "type": "object",
                    "properties": {
                      "min": {
                        "type": "number"
                      },
                      "max": {
                        "type": "number"
                      },
                      "recommended": {
                        "type": "number"
                      }
                    },
                    "required": [
                      "min",
                      "max",
                      "recommended"
                    ],
                    "additionalProperties": false
                  },
                  "monthly_budget": {
                    "type": "object",
                    "properties": {
                      "min": {
                        "type": "number"
                      },
                      "max": {
                        "type": "number"
                      },
                      "recommended": {
                        "type": "number"
                      }
                    },
                    "required": [
                      "min",
                      "max",
                      "recommended"
                    ],
                    "additionalProperties": false
                  }
                },
                "required": [
                  "estimated_monthly_applicants",
                  "currency",
                  "daily_budget",
                  "monthly_budget"
                ],
                "additionalProperties": false
              }
            },
            "required": [
              "free",
              "promoted"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "object",
          "job_id",
          "publish_options"
        ],
        "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.