---
updatedAt: 2026-06-01T12:15:48.000Z
agentTools:
  projectIndex: https://developers.smartrecruiters.com/llms.txt
---

# Create a new job

Create a new job. Ignores all nonexistent job properties and job properties values.

# OpenAPI definition

```json
{
  "openapi": "3.0.2",
  "info": {
    "version": "1.1.0",
    "title": "Jobs API",
    "contact": {
      "name": "SmartRecruiters",
      "url": "https://developers.smartrecruiters.com"
    }
  },
  "tags": [
    {
      "name": "jobs"
    }
  ],
  "paths": {
    "/jobs": {
      "post": {
        "responses": {
          "201": {
            "description": "Created job",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JobDetails"
                }
              }
            }
          },
          "400": {
            "description": "with codes\n* **DEPARTMENT_NOT_FOUND** when provided department does not exist,\n* **INDUSTRY_NOT_FOUND** when provided industry does not exist,\n* **FUNCTION_NOT_FOUND** when provided function does not exist,\n* **TYPE_OF_EMPLOYMENT_NOT_FOUND** when provided type of employment does not exist,\n* **JOB_AD_LANGUAGE_NOT_FOUND** when provided job ad language does not exist,\n* **EEO_CATEGORY_NOT_FOUND** when provided eeo category does not exist,\n* **EXPERIENCE_LEVEL_NOT_FOUND** when provided experience level does not exist,\n* **CITY_NOT_FOUND** when provided city does not exist,\n* **INVALID_GEO_DATA** when latitude or longitude parameters are invalid\n* **COUNTRY_CODE_NOT_RECOGNIZED** when provided country code is not a valid ISO 3166 code\n* **LOCATION_IDENTIFIER_NOT_FOUND** when provided location `identifier` does not match any predefined location for this company\n* **JOB_PROPERTY_REQUIRED** when some job property is required to create job,\n* **JOB_PROPERTY_PARENT_VALUE_MISSING** when job property is set but value for its parent is missing,\n* **INVALID_JOB_PROPERTY_VALUE_ID** when provided job property value id does not exist for required property,\n* **INVALID_JOB_PROPERTY_VALUE_TYPE** when invalid value type is used for job property,\n* **JOB_PROPERTY_VALUE_NOT_AVAILABLE_FOR_SELECTED_PARENT_VALUE** when job property's value is not available for selected parent value,\n* **VALUE_INACTIVE** when job property's value is not active and cannot be set.\n* **INVALID_TEXT_FORMAT** when job property's value contains invalid text\n* **INVALID_BRAND_VALUE** when provided brand value is invalid\n* **TYPE_OF_EMPLOYMENT_NOT_ALLOWED** when provided type of employment is not allowed in country\n* **PROPERTY_INVALID** when one of provided properties contains invalid characters\n",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "with codes\n* **JOB_TEMPLATES_MANAGEMENT_FORBIDDEN** when not allowed to create\njob templates.\n* **PERMISSION_DENIED** when job access forbidden\n",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "with code\n* **REF_NUMBER_ALREADY_EXISTS** when provided ref number already exists\n",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "Input validation fails with codes\n\n* **COMPENSATION_INVALID_CURRENCY** – the currency code provided is invalid or not supported.\n* **TAGLINES_EXCEEDS_SECTION_SIZE** – Combined Additional Information and Job Ad Footers exceed the maximum allowed length.\n",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        },
        "description": "Create a new job. Ignores all nonexistent job properties and job properties values.",
        "tags": [
          "jobs"
        ],
        "summary": "Create a new job",
        "operationId": "jobs.create",
        "security": [
          {
            "key": []
          },
          {
            "oauth": [
              "jobs_manage"
            ]
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/JobInput"
              }
            }
          },
          "description": "Job object that needs to be created"
        }
      }
    }
  },
  "components": {
    "securitySchemes": {
      "key": {
        "type": "apiKey",
        "in": "header",
        "name": "x-smarttoken"
      },
      "oauth": {
        "type": "oauth2",
        "flows": {
          "authorizationCode": {
            "authorizationUrl": "https://www.smartrecruiters.com/identity/oauth/allow",
            "tokenUrl": "https://api.smartrecruiters.com/identity/oauth/token",
            "scopes": {
              "jobs_read": "Access Jobs",
              "jobs_manage": "Manage jobs",
              "jobs_publications_manage": "Publish Jobs"
            }
          }
        }
      }
    },
    "schemas": {
      "ErrorResponse": {
        "type": "object",
        "properties": {
          "message": {
            "type": "string"
          },
          "errors": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Error"
            }
          }
        }
      },
      "Error": {
        "type": "object",
        "required": [
          "code"
        ],
        "properties": {
          "code": {
            "type": "string"
          },
          "message": {
            "type": "string"
          }
        }
      },
      "Action": {
        "type": "object",
        "required": [
          "url",
          "method"
        ],
        "properties": {
          "url": {
            "type": "string"
          },
          "method": {
            "type": "string",
            "enum": [
              "GET",
              "POST",
              "PUT",
              "PATCH",
              "OPTIONS",
              "DELETE",
              "HEAD"
            ]
          }
        }
      },
      "Department": {
        "type": "object",
        "required": [
          "label"
        ],
        "properties": {
          "id": {
            "type": "string"
          },
          "label": {
            "type": "string"
          },
          "description": {
            "type": "string"
          }
        }
      },
      "Location": {
        "type": "object",
        "required": [
          "city",
          "countryCode"
        ],
        "properties": {
          "country": {
            "type": "string",
            "minLength": 1
          },
          "countryCode": {
            "type": "string",
            "minLength": 2,
            "maxLength": 2
          },
          "regionCode": {
            "type": "string"
          },
          "region": {
            "type": "string"
          },
          "city": {
            "type": "string",
            "minLength": 1
          },
          "address": {
            "type": "string",
            "format": "address"
          },
          "postalCode": {
            "type": "string"
          },
          "longitude": {
            "type": "string"
          },
          "latitude": {
            "type": "string"
          },
          "manual": {
            "type": "boolean"
          },
          "remote": {
            "type": "boolean"
          },
          "hybrid": {
            "type": "boolean"
          },
          "hybridDescription": {
            "type": "string",
            "maxLength": 60
          }
        }
      },
      "JobInput": {
        "type": "object",
        "required": [
          "title",
          "function",
          "industry",
          "experienceLevel",
          "location"
        ],
        "properties": {
          "title": {
            "type": "string",
            "minLength": 1,
            "maxLength": 256,
            "format": "title"
          },
          "refNumber": {
            "type": "string",
            "maxLength": 63
          },
          "targetHiringDate": {
            "type": "string",
            "format": "date-time"
          },
          "department": {
            "$ref": "#/components/schemas/Identifiable"
          },
          "location": {
            "$ref": "#/components/schemas/LocationInput"
          },
          "industry": {
            "$ref": "#/components/schemas/Identifiable"
          },
          "function": {
            "$ref": "#/components/schemas/Identifiable"
          },
          "typeOfEmployment": {
            "$ref": "#/components/schemas/Identifiable"
          },
          "experienceLevel": {
            "$ref": "#/components/schemas/Identifiable"
          },
          "eeoCategory": {
            "$ref": "#/components/schemas/Identifiable"
          },
          "template": {
            "type": "boolean"
          },
          "compensation": {
            "$ref": "#/components/schemas/Compensation"
          },
          "jobAd": {
            "$ref": "#/components/schemas/JobAd"
          },
          "properties": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/JobPropertyInput"
            }
          }
        }
      },
      "Job": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "refNumber": {
            "type": "string"
          },
          "createdOn": {
            "type": "string",
            "format": "date-time"
          },
          "updatedOn": {
            "type": "string",
            "format": "date-time",
            "description": "Job modification date"
          },
          "lastActivityOn": {
            "type": "string",
            "format": "date-time",
            "description": "Indicates last activity associated with a job"
          },
          "department": {
            "$ref": "#/components/schemas/Department"
          },
          "location": {
            "$ref": "#/components/schemas/Location"
          },
          "status": {
            "$ref": "#/components/schemas/JobStatus"
          },
          "postingStatus": {
            "$ref": "#/components/schemas/PostingStatus"
          }
        }
      },
      "JobDetails": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Job"
          },
          {
            "type": "object",
            "properties": {
              "targetHiringDate": {
                "type": "string",
                "format": "date-time"
              },
              "hiringProcessId": {
                "type": "string",
                "description": "ID of hiring process associated with this job"
              },
              "industry": {
                "$ref": "#/components/schemas/Property"
              },
              "function": {
                "$ref": "#/components/schemas/Property"
              },
              "typeOfEmployment": {
                "$ref": "#/components/schemas/Property"
              },
              "experienceLevel": {
                "$ref": "#/components/schemas/Property"
              },
              "eeoCategory": {
                "$ref": "#/components/schemas/Property"
              },
              "template": {
                "type": "boolean"
              },
              "creator": {
                "$ref": "#/components/schemas/UserIdentity"
              },
              "compensation": {
                "$ref": "#/components/schemas/Compensation"
              },
              "jobAd": {
                "$ref": "#/components/schemas/JobAdInput"
              },
              "properties": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/JobProperty"
                }
              },
              "actions": {
                "type": "object",
                "properties": {
                  "hiringTeam": {
                    "$ref": "#/components/schemas/Action"
                  },
                  "publications": {
                    "$ref": "#/components/schemas/Action"
                  },
                  "positions": {
                    "$ref": "#/components/schemas/Action"
                  },
                  "applyOnWeb": {
                    "$ref": "#/components/schemas/Action"
                  },
                  "details": {
                    "$ref": "#/components/schemas/Action"
                  }
                }
              }
            }
          }
        ]
      },
      "LocationInput": {
        "oneOf": [
          {
            "$ref": "#/components/schemas/LocationDetails"
          },
          {
            "$ref": "#/components/schemas/LocationByIdentifier"
          }
        ]
      },
      "LocationDetails": {
        "type": "object",
        "required": [
          "city",
          "countryCode"
        ],
        "properties": {
          "countryCode": {
            "type": "string",
            "minLength": 2,
            "maxLength": 2
          },
          "regionCode": {
            "type": "string",
            "minLength": 1,
            "maxLength": 256
          },
          "region": {
            "type": "string",
            "minLength": 1,
            "maxLength": 256
          },
          "address": {
            "type": "string",
            "minLength": 1,
            "maxLength": 2000
          },
          "postalCode": {
            "type": "string",
            "minLength": 1,
            "maxLength": 32
          },
          "city": {
            "type": "string",
            "minLength": 1,
            "maxLength": 128
          },
          "longitude": {
            "oneOf": [
              {
                "type": "number"
              },
              {
                "type": "string"
              }
            ]
          },
          "latitude": {
            "oneOf": [
              {
                "type": "number"
              },
              {
                "type": "string"
              }
            ]
          },
          "remote": {
            "type": "boolean"
          },
          "hybrid": {
            "type": "boolean"
          },
          "hybridDescription": {
            "type": "string",
            "maxLength": 60
          }
        }
      },
      "LocationByIdentifier": {
        "type": "object",
        "required": [
          "identifier"
        ],
        "properties": {
          "identifier": {
            "type": "string",
            "minLength": 3,
            "maxLength": 64,
            "description": "The unique identifier of a predefined location configured for this company. Mutually exclusive with all LocationDetails fields.\n"
          },
          "remote": {
            "type": "boolean"
          },
          "hybrid": {
            "type": "boolean"
          },
          "hybridDescription": {
            "type": "string",
            "maxLength": 60
          }
        }
      },
      "JobAdInput": {
        "type": "object",
        "properties": {
          "sections": {
            "$ref": "#/components/schemas/JobAdSections"
          },
          "language": {
            "$ref": "#/components/schemas/Language"
          }
        }
      },
      "JobPropertyInput": {
        "allOf": [
          {
            "$ref": "#/components/schemas/JobPropertyIdentifier"
          },
          {
            "type": "object",
            "required": [
              "value"
            ],
            "properties": {
              "value": {
                "$ref": "#/components/schemas/JobPropertyValueInput"
              }
            }
          }
        ]
      },
      "JobAdSections": {
        "type": "object",
        "properties": {
          "companyDescription": {
            "$ref": "#/components/schemas/JobAdSection"
          },
          "jobDescription": {
            "$ref": "#/components/schemas/JobAdSection"
          },
          "qualifications": {
            "$ref": "#/components/schemas/JobAdSection"
          },
          "additionalInformation": {
            "$ref": "#/components/schemas/JobAdSection"
          },
          "videos": {
            "$ref": "#/components/schemas/JobAdVideos"
          }
        }
      },
      "JobAdSection": {
        "type": "object",
        "properties": {
          "title": {
            "type": "string"
          },
          "text": {
            "type": "string",
            "maxLength": 24999
          }
        }
      },
      "JobAdVideos": {
        "type": "object",
        "properties": {
          "urls": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "video_url"
            }
          }
        }
      },
      "JobStatus": {
        "type": "string",
        "enum": [
          "CREATED",
          "SOURCING",
          "FILLED",
          "INTERVIEW",
          "OFFER",
          "CANCELLED",
          "ON_HOLD",
          "OTHER"
        ]
      },
      "PostingStatus": {
        "type": "string",
        "enum": [
          "PUBLIC",
          "INTERNAL",
          "NOT_PUBLISHED",
          "PRIVATE"
        ]
      },
      "Compensation": {
        "type": "object",
        "properties": {
          "min": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "max": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "currency": {
            "type": "string",
            "nullable": true
          },
          "period": {
            "description": "The time period to which the proposed min and max compensation values apply",
            "type": "string",
            "enum": [
              "HOURLY",
              "DAILY",
              "WEEKLY",
              "MONTHLY",
              "YEARLY"
            ],
            "nullable": true
          }
        }
      },
      "JobAd": {
        "type": "object",
        "properties": {
          "sections": {
            "$ref": "#/components/schemas/JobAdSections"
          },
          "language": {
            "$ref": "#/components/schemas/Language"
          }
        }
      },
      "Language": {
        "type": "object",
        "required": [
          "code"
        ],
        "properties": {
          "code": {
            "type": "string"
          },
          "label": {
            "type": "string"
          },
          "labelNative": {
            "type": "string"
          }
        }
      },
      "JobProperty": {
        "type": "object",
        "required": [
          "id",
          "value"
        ],
        "properties": {
          "id": {
            "type": "string",
            "minLength": 1
          },
          "key": {
            "type": "string"
          },
          "label": {
            "type": "string"
          },
          "value": {
            "$ref": "#/components/schemas/JobPropertyValue"
          }
        }
      },
      "JobPropertyValue": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "minLength": 1,
            "maxLength": 256
          },
          "externalCode": {
            "type": "string",
            "minLength": 1,
            "maxLength": 255,
            "description": "Cross-system code identifying the value in an external system, when one is set."
          },
          "label": {
            "type": "string"
          }
        }
      },
      "JobPropertyValueInput": {
        "type": "object",
        "not": {
          "required": [
            "id",
            "externalCode"
          ]
        },
        "properties": {
          "id": {
            "type": "string",
            "minLength": 1,
            "maxLength": 256
          },
          "externalCode": {
            "type": "string",
            "minLength": 1,
            "maxLength": 255,
            "description": "Cross-system code identifying the value in an external system. Mutually exclusive with `id` — provide at most one of the two when referencing an existing value."
          },
          "label": {
            "type": "string"
          }
        }
      },
      "Property": {
        "type": "object",
        "required": [
          "id"
        ],
        "properties": {
          "id": {
            "type": "string",
            "minLength": 1
          },
          "label": {
            "type": "string"
          }
        }
      },
      "UserIdentity": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "firstName": {
            "type": "string"
          },
          "lastName": {
            "type": "string"
          }
        }
      },
      "Identifiable": {
        "type": "object",
        "required": [
          "id"
        ],
        "properties": {
          "id": {
            "type": "string",
            "minLength": 1,
            "maxLength": 256
          }
        }
      },
      "JobPropertyIdentifier": {
        "type": "object",
        "description": "Job property identifier (id or key)",
        "required": [
          "id"
        ],
        "properties": {
          "id": {
            "type": "string",
            "minLength": 1,
            "maxLength": 1000
          }
        }
      }
    }
  },
  "servers": [
    {
      "url": "https://api.smartrecruiters.com"
    }
  ]
}
```