---
title: "Publishes a default job ad"
method: POST
path: "/jobs/{jobId}/publication"
tags: ["jobs"]
---

# Publishes a default job ad

`POST /jobs/{jobId}/publication`

## Request

- Base URL: `https://api.smartrecruiters.com`
- URL: `https://api.smartrecruiters.com/jobs/{jobId}/publication`
- Auth: one of:
  - API key in header `x-smarttoken`
  - OAuth 2
    - Authorization code: `https://www.smartrecruiters.com/identity/oauth/allow`
    - Token URL: `https://api.smartrecruiters.com/identity/oauth/token` scopes: `jobs_publications_manage`

Publishes default job ad to internal sources and to free job aggregators.

It reflects a Publish action available in the SmartRecruiters UI.

Note:
  Internal sources: Career Pages, Job Widget, Facebook App, WordPress Plugin, Posting API depend on a company's payment plan.

## Request body

- Publication
  - `aggregators` boolean
  - `visibility` 'PUBLIC' | 'INTERNAL'
  - `includeInternal` boolean
  - `delayPublicInDays` integer

## Response `204`

## Other responses

- `400`: with code * **PUBLISHED_JOB_AD_LIMIT_REACHED** when company's limit for published job ads has been reached
- `401`: with code * **UNAUTHORIZED_TO_ACCESS_JOB** - when user is not authorized to access the job
- `403`: with code * **NOT_AUTHORIZED_TO_PUBLISH_JOB** - when user is not authorized to publish the job or approval process for the job is required
- `422`: with codes * **COMPENSATION_REQUIRED** – compensation is required by company configuration but is missing or incomplete. * **COMPENSATION_HIDDEN** – compensation should not be provided when company configuration requires it to be hidden. * **COMPENSATION_INVALID_CURRENCY** – the currency code provided is invalid or not supported.

---

[API](https://skmtc.dev/smartrecruiters/apis/jobs-api.md) - [All operations](https://skmtc.dev/smartrecruiters/apis/jobs-api/llms.txt) - [OpenAPI document](https://skmtc.dev/smartrecruiters/apis/jobs-api/revisions/d7e4e0f20115?raw)
