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

> Publishes a LinkedIn job posting draft publicly from the customer’s account (free or promoted/paid, per the request). Unipile Linkedin Publish Job Posting.

Publishes a LinkedIn job posting draft publicly from the customer’s account (free or promoted/paid, per the request).

> [!NOTE]
>
> Tool ID: `unipile_linkedin_publish_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_publish_job_posting',
  {
    "draft_id": "draft_123",
    "account_id": "123456789",
    "mode": "FREE"
  },
);

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

### CLI

```bash theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
deepline tools execute unipile_linkedin_publish_job_posting --input '{
  "draft_id": "draft_123",
  "account_id": "123456789",
  "mode": "FREE"
}' --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": "LinkedinJobPostingPublished",
    "job_state": "active",
    "job_id": "job_123"
  }
}
```

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

## Input reference

Publish the job posting draft you have been working on.

| Name | Type | Required | Default | Details |
| - | - | - | - | - |
| `payload.draft_id` | `string` | Yes | — | The id of the draft to publish. |
| `payload.account_id` | `string` | Yes | — | An Unipile account id. Minimum length: 1. |
| `payload.service` | `"CLASSIC" \| "RECRUITER"` | No | — | The Linkedin service the job posting depends on. Default is classic. Allowed: `CLASSIC`, `RECRUITER`. |
| `payload.hiring_photo_frame` | `boolean` | No | — | Whether or not to add the hiring photo frame to you profile picture. |
| `payload.bypass_email_verification` | `boolean` | No | — | Whether or not to verify if you're allowed to post a job on behalf on the current company. |
| `payload.mode` | `"FREE" \| "PROMOTED" \| "PROMOTED_PLUS"` | Yes | — | Allowed: `FREE`, `PROMOTED`, `PROMOTED_PLUS`. |
| `payload.budget` | `object` | No | — | Default value will be based on LinkedIn recommendations. |

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

  ### Input JSON Schema

  ```json theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
  {
    "type": "object",
    "description": "Publish the job posting draft you have been working on.",
    "properties": {
      "draft_id": {
        "type": "string",
        "description": "The id of the draft to publish."
      },
      "account_id": {
        "type": "string",
        "description": "An Unipile account id.",
        "minLength": 1
      },
      "service": {
        "type": "string",
        "description": "The Linkedin service the job posting depends on. Default is classic.",
        "enum": [
          "CLASSIC",
          "RECRUITER"
        ]
      },
      "hiring_photo_frame": {
        "type": "boolean",
        "description": "Whether or not to add the hiring photo frame to you profile picture."
      },
      "bypass_email_verification": {
        "type": "boolean",
        "description": "Whether or not to verify if you're allowed to post a job on behalf on the current company."
      },
      "mode": {
        "type": "string",
        "enum": [
          "FREE",
          "PROMOTED",
          "PROMOTED_PLUS"
        ]
      },
      "budget": {
        "description": "Default value will be based on LinkedIn recommendations.",
        "anyOf": [
          {
            "type": "object",
            "properties": {
              "daily": {
                "type": "object",
                "properties": {
                  "currency": {
                    "type": "string"
                  },
                  "amount": {
                    "type": "number"
                  }
                },
                "required": [
                  "currency",
                  "amount"
                ],
                "additionalProperties": false
              }
            },
            "required": [
              "daily"
            ],
            "additionalProperties": false
          },
          {
            "type": "object",
            "properties": {
              "monthly": {
                "type": "object",
                "properties": {
                  "currency": {
                    "type": "string"
                  },
                  "amount": {
                    "type": "number"
                  }
                },
                "required": [
                  "currency",
                  "amount"
                ],
                "additionalProperties": false
              }
            },
            "required": [
              "monthly"
            ],
            "additionalProperties": false
          }
        ]
      }
    },
    "required": [
      "draft_id",
      "account_id",
      "mode"
    ],
    "anyOf": [
      {
        "type": "object",
        "properties": {
          "draft_id": {
            "type": "string",
            "description": "The id of the draft to publish."
          },
          "account_id": {
            "type": "string",
            "description": "An Unipile account id.",
            "minLength": 1
          },
          "service": {
            "type": "string",
            "description": "The Linkedin service the job posting depends on. Default is classic.",
            "enum": [
              "CLASSIC",
              "RECRUITER"
            ]
          },
          "hiring_photo_frame": {
            "type": "boolean",
            "description": "Whether or not to add the hiring photo frame to you profile picture."
          },
          "bypass_email_verification": {
            "type": "boolean",
            "description": "Whether or not to verify if you're allowed to post a job on behalf on the current company."
          },
          "mode": {
            "type": "string",
            "enum": [
              "FREE"
            ]
          }
        },
        "required": [
          "draft_id",
          "account_id",
          "mode"
        ],
        "additionalProperties": false
      },
      {
        "type": "object",
        "properties": {
          "draft_id": {
            "type": "string",
            "description": "The id of the draft to publish."
          },
          "account_id": {
            "type": "string",
            "description": "An Unipile account id.",
            "minLength": 1
          },
          "service": {
            "type": "string",
            "description": "The Linkedin service the job posting depends on. Default is classic.",
            "enum": [
              "CLASSIC",
              "RECRUITER"
            ]
          },
          "hiring_photo_frame": {
            "type": "boolean",
            "description": "Whether or not to add the hiring photo frame to you profile picture."
          },
          "bypass_email_verification": {
            "type": "boolean",
            "description": "Whether or not to verify if you're allowed to post a job on behalf on the current company."
          },
          "mode": {
            "type": "string",
            "description": "PROMOTED is common to Linkedin Classic and Recruiter while PROMOTED_PLUS is specific to Classic.",
            "enum": [
              "PROMOTED",
              "PROMOTED_PLUS"
            ]
          },
          "budget": {
            "description": "Default value will be based on LinkedIn recommendations.",
            "anyOf": [
              {
                "type": "object",
                "properties": {
                  "daily": {
                    "type": "object",
                    "properties": {
                      "currency": {
                        "type": "string"
                      },
                      "amount": {
                        "type": "number"
                      }
                    },
                    "required": [
                      "currency",
                      "amount"
                    ],
                    "additionalProperties": false
                  }
                },
                "required": [
                  "daily"
                ],
                "additionalProperties": false
              },
              {
                "type": "object",
                "properties": {
                  "monthly": {
                    "type": "object",
                    "properties": {
                      "currency": {
                        "type": "string"
                      },
                      "amount": {
                        "type": "number"
                      }
                    },
                    "required": [
                      "currency",
                      "amount"
                    ],
                    "additionalProperties": false
                  }
                },
                "required": [
                  "monthly"
                ],
                "additionalProperties": false
              }
            ]
          }
        },
        "required": [
          "draft_id",
          "account_id",
          "mode"
        ],
        "additionalProperties": false
      }
    ],
    "additionalProperties": false
  }
  ```
</details>

## Output reference

Standard tool result payload.

| Name | Type | Required | Default | Details |
| - | - | - | - | - |
| `result.data` | `object` | Yes | — | Provider response payload. |
| `result.data.object` | `"LinkedinJobPostingPublished"` | Yes | — | — |
| `result.data.job_state` | `"active" \| "draft" \| "review" \| "closed" \| "paused"` | Yes | — | — |
| `result.data.job_id` | `string` | Yes | — | — |
| `result.data.type` | `"EMAIL_VERIFICATION" \| "OTP"` | 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": {
        "description": "Provider response payload.",
        "anyOf": [
          {
            "type": "object",
            "properties": {
              "object": {
                "type": "string",
                "enum": [
                  "LinkedinJobPostingPublished"
                ]
              },
              "job_state": {
                "type": "string",
                "enum": [
                  "active",
                  "draft",
                  "review",
                  "closed",
                  "paused"
                ]
              },
              "job_id": {
                "type": "string"
              }
            },
            "required": [
              "object",
              "job_state",
              "job_id"
            ],
            "additionalProperties": false
          },
          {
            "type": "object",
            "properties": {
              "object": {
                "type": "string",
                "enum": [
                  "LinkedinJobPostingPublishCheckpoint"
                ]
              },
              "type": {
                "type": "string",
                "enum": [
                  "EMAIL_VERIFICATION",
                  "OTP"
                ]
              },
              "job_id": {
                "type": "string"
              }
            },
            "required": [
              "object",
              "type",
              "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.