---
title: "Publish a job posting"
method: POST
path: "/v1/actions/publish_job_posting"
tags: ["Jobs"]
---

# Publish a job posting

`POST /v1/actions/publish_job_posting`

## Request

- Base URL: `https://api.heyreagent.com`
- URL: `https://api.heyreagent.com/v1/actions/publish_job_posting`
- Auth: HTTP bearer

Publish a job posting draft, free or promoted.

draftId is the job id of a draft: from create_job_posting, or list_job_postings with category "draft".

Two answers are possible. Published: jobState and jobId. Not yet: type EMAIL_VERIFICATION or OTP, and LinkedIn has sent a code — pass it to solve_job_posting_checkpoint.

Docs: https://heyreagent.com/docs/actions/publish_job_posting

## Request body

- object
  - `draftId` string, required: The draft id (from create_job_posting, or list_job_postings category draft).
  - `mode` 'FREE' | 'PROMOTED' | 'PROMOTED_PLUS', required: FREE costs nothing. PROMOTED and PROMOTED_PLUS (ordinary postings only) are paid.
  - `budget` object: Paid modes only: the most to spend per day or per month.
    - `period` 'daily' | 'monthly', required
    - `currency` string, required
    - `amount` number, required
  - `service` 'CLASSIC' | 'RECRUITER': Which LinkedIn product the job posting belongs to (default CLASSIC).
  - `hiringPhotoFrame` boolean: Add the #Hiring frame to your profile picture.
  - `bypassEmailVerification` boolean: Skip LinkedIn's check that you may post for this company.
  - `connectionId` string: Which of your LinkedIn accounts to act from (its id from list_linkedin_accounts). Omit to use your first live one.

## Response `200`

It worked. Inside result: draftId, mode, paid, from, usedToday, dailyLimit, jobState, jobId, type.

- Worked
  - `ok` true, required
  - `result` object, required: What was asked for. A field that does not apply is left out, or is null.

## Other responses

- `default`: It did not work. The message says why, in plain English.

---

[API](https://skmtc.dev/heyreagent/apis/heyreagent-api.md) · [All operations](https://skmtc.dev/heyreagent/apis/heyreagent-api/llms.txt) · [OpenAPI document](https://skmtc.dev/heyreagent/apis/heyreagent-api/revisions/917360c5f841?raw)
