> ## Documentation Index
> Fetch the complete documentation index at: /docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Update Job

> Update an existing job posting.

Update an existing job posting. Only the fields you include in the request body will be modified -- all other fields remain unchanged.

## Path parameters

| Parameter | Type | Description |
| - | - | - |
| `jobId` | string | The unique identifier of the job (an opaque string such as `k7Hq2xVbN`; length varies by source). |

## Request body

All fields are optional. Include only the fields you want to change.

| Field | Type | Description |
| - | - | - |
| `title` | string | Job title displayed to candidates. |
| `description` | string | Full job description. |
| `location` | object | Location details (city, region, country, zip\_code, workplace\_type, etc). |
| `wage_lower_bound` | number | Lower bound of the compensation range. |
| `wage_upper_bound` | number | Upper bound of the compensation range. |
| `wage_type` | string | Compensation frequency: `hourly`, `daily`, `weekly`, `monthly`, or `annually`. |
| `script_id` | number | ID of the interview script to use for AI phone screening. |
| `benefits` | string | Benefits description. |
| `faqs` | array | Array of FAQ objects (`question`, `answer`). |
| `application_questions` | array | Array of screening question objects. |
| `additional_subscriber_emails` | array | Array of subscriber email objects (`email`, `first_name`, `last_name`). |
| `custom_data` | object | Arbitrary key-value metadata. |

Refer to the [Create Job](/docs/api-reference/jobs/create-job.md) endpoint for the full schema of nested objects (location, FAQs, application questions, subscriber emails).

## Example

```bash theme={null}
curl -X PATCH "https://api.classet.ai/v2/jobs/k7Hq2xVbN" \
  -H "X-API-KEY: your-api-key" \
  -H "Content-Type: application/json" \
  -d '{
    "title": "Senior HVAC Technician",
    "wage_lower_bound": 30,
    "wage_upper_bound": 45
  }'
```

```json theme={null}
{
  "data": {
    "job_id": "k7Hq2xVbN"
  }
}
```

The response carries only the job's id. To read the updated job, call [Get Job](/docs/api-reference/jobs/get-job.md).

> [!WARNING]
>
> Array fields like `faqs`, `application_questions`, and `additional_subscriber_emails` are replaced entirely when provided -- they are not merged with existing values. Omit these fields to leave them unchanged.

The [additional editable job fields](/docs/api-reference/jobs/create-job.md#additional-editable-job-fields)
are supported on PATCH too. Omit a field to preserve it; changing `branch_id` rechecks subscriber access
and AI-screening entitlement for the destination branch. Unknown and server-owned fields are ignored.


## OpenAPI

````yaml PATCH /v2/jobs/{jobId}
openapi: 3.1.0
info:
  title: Classet API
  version: 2.0.3
  description: >-
    AI-powered recruiting and phone screening API.


    **API key scopes.** `read` covers every GET; any other method needs `write`
    (403 `insufficient_scope`); starting or stopping an interview also needs
    `interviews:send`. A branch-limited key sees and writes only jobs in its
    branches (not jobs with no branch) and their candidates, applications and
    calls; anything outside is a 404. An organization-group key is read-only
    across every organization in its group. Branch-limited and group keys cannot
    use organization configuration (scripts, knowledge, webhooks, message
    automations, agent settings, AI generation, organization): 403
    `restricted_key_unsupported`. `GET /v2/me` reports what the calling key can
    do.
servers:
  - url: https://api.classet.ai
    description: Production
  - url: http://localhost:8081
    description: Local development
security:
  - ApiKeyAuth: []
paths:
  /v2/jobs/{jobId}:
    patch:
      tags:
        - Jobs
      summary: Update a job
      description: Update an existing job posting.
      parameters:
        - schema:
            type: string
            example: abc123def
          required: true
          name: jobId
          in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                title:
                  type: string
                  minLength: 1
                description:
                  type: string
                  minLength: 1
                external_id:
                  type: string
                  nullable: true
                  minLength: 1
                  example: CC-REQ-48217
                  description: Your own internal job identifier (pass null to clear).
                location:
                  $ref: '#/components/schemas/Location'
                wage_lower_bound:
                  type: number
                wage_upper_bound:
                  type: number
                wage_type:
                  type: string
                  enum:
                    - hourly
                    - daily
                    - weekly
                    - monthly
                    - annually
                script_id:
                  type: integer
                benefits:
                  type: string
                faqs:
                  type: array
                  items:
                    $ref: '#/components/schemas/FAQ'
                  minItems: 1
                application_questions:
                  type: array
                  items:
                    $ref: '#/components/schemas/ApplicationQuestion'
                additional_subscriber_emails:
                  type: array
                  items:
                    type: object
                    properties:
                      email:
                        type: string
                        format: email
                      first_name:
                        type: string
                      last_name:
                        type: string
                    required:
                      - email
                custom_data:
                  type: object
                  nullable: true
                  additionalProperties:
                    nullable: true
                full_title:
                  type: string
                  minLength: 1
                  description: Override the derived display title.
                full_description:
                  type: string
                  minLength: 1
                  description: >-
                    Override the full description; otherwise description is
                    used.
                requirements:
                  type: string
                  nullable: true
                geo:
                  type: string
                  nullable: true
                  example: POINT(-97.74 30.27)
                employment_type:
                  type: string
                  nullable: true
                  minLength: 1
                wage_currency:
                  type: string
                  pattern: ^[A-Z]{3}$
                  example: USD
                company:
                  type: string
                  minLength: 1
                  description: Display company name; defaults to your organization name.
                branch_id:
                  type: string
                  nullable: true
                  minLength: 1
                  description: >-
                    An active branch belonging to your organization, or null for
                    no branch.
                code:
                  type: string
                  nullable: true
                state:
                  type: string
                  enum:
                    - draft
                    - published
                    - closed
                    - archived
                    - user_draft
                    - parsing
                  description: Job lifecycle state. New jobs default to published.
                url:
                  type: string
                  nullable: true
                  format: uri
                screening_requirements:
                  type: object
                  nullable: true
                  additionalProperties:
                    nullable: true
                interview_script_id:
                  type: integer
                  minimum: 0
                  exclusiveMinimum: true
                  description: Alias for script_id. If both are supplied they must match.
                ats_ai_recruiter_on:
                  type: boolean
                  description: >-
                    Enable or pause AI screening. Enabling requires the
                    applicable plan entitlement and an API key with the
                    `interviews:send` scope.
                subscribers:
                  type: array
                  items:
                    type: string
                    format: uuid
                  description: >-
                    User IDs in your organization with access to the job branch.
                    Replaces the subscriber list.
                benefits_array:
                  type: array
                  nullable: true
                  items:
                    type: string
                languages_enabled:
                  type: array
                  items:
                    type: string
                    pattern: ^[a-z]{2}$
                  description: >-
                    Interview languages. Newly enabled languages must be
                    included in your organization entitlement.
      responses:
        '200':
          description: Job updated
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: object
                    properties:
                      job_id:
                        type: string
                        description: >-
                          The v2 job ID (`jobs.id`), as GET /v2/jobs returns it.
                          `job_shortcode`, where present, is the v1 shortcode of
                          the same job; every `{jobId}` and `job_id` input
                          accepts either.
                    required:
                      - job_id
                required:
                  - data
        '400':
          description: Invalid script, custom data, branch or subscribers
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                    example: Resource not found
                  code:
                    type: string
                    enum:
                      - not_found
                      - validation_error
                      - unauthorized
                      - forbidden
                      - insufficient_scope
                      - restricted_key_unsupported
                      - branch_out_of_scope
                      - key_misconfigured
                      - quota_exceeded
                      - rate_limited
                      - rate_limit_unavailable
                      - conflict
                      - idempotency_key_reuse
                      - candidate_opted_out
                      - recently_contacted
                      - request_in_progress
                      - unprocessable
                      - bad_request
                      - payload_too_large
                      - internal_error
                      - service_unavailable
                    example: not_found
                    description: Stable machine-readable error code.
                  request_id:
                    type: string
                    example: 9f2c1d7e-4a3b-4c8d-9e0f-1a2b3c4d5e6f
                    description: >-
                      Request ID, also echoed in the X-Request-Id response
                      header. Include it when reporting issues.
                required:
                  - error
        '403':
          description: Language or AI screening entitlement required
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                    example: Resource not found
                  code:
                    type: string
                    enum:
                      - not_found
                      - validation_error
                      - unauthorized
                      - forbidden
                      - insufficient_scope
                      - restricted_key_unsupported
                      - branch_out_of_scope
                      - key_misconfigured
                      - quota_exceeded
                      - rate_limited
                      - rate_limit_unavailable
                      - conflict
                      - idempotency_key_reuse
                      - candidate_opted_out
                      - recently_contacted
                      - request_in_progress
                      - unprocessable
                      - bad_request
                      - payload_too_large
                      - internal_error
                      - service_unavailable
                    example: not_found
                    description: Stable machine-readable error code.
                  request_id:
                    type: string
                    example: 9f2c1d7e-4a3b-4c8d-9e0f-1a2b3c4d5e6f
                    description: >-
                      Request ID, also echoed in the X-Request-Id response
                      header. Include it when reporting issues.
                required:
                  - error
        '404':
          description: Job not found
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                    example: Resource not found
                  code:
                    type: string
                    enum:
                      - not_found
                      - validation_error
                      - unauthorized
                      - forbidden
                      - insufficient_scope
                      - restricted_key_unsupported
                      - branch_out_of_scope
                      - key_misconfigured
                      - quota_exceeded
                      - rate_limited
                      - rate_limit_unavailable
                      - conflict
                      - idempotency_key_reuse
                      - candidate_opted_out
                      - recently_contacted
                      - request_in_progress
                      - unprocessable
                      - bad_request
                      - payload_too_large
                      - internal_error
                      - service_unavailable
                    example: not_found
                    description: Stable machine-readable error code.
                  request_id:
                    type: string
                    example: 9f2c1d7e-4a3b-4c8d-9e0f-1a2b3c4d5e6f
                    description: >-
                      Request ID, also echoed in the X-Request-Id response
                      header. Include it when reporting issues.
                required:
                  - error
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                    example: Resource not found
                  code:
                    type: string
                    enum:
                      - not_found
                      - validation_error
                      - unauthorized
                      - forbidden
                      - insufficient_scope
                      - restricted_key_unsupported
                      - branch_out_of_scope
                      - key_misconfigured
                      - quota_exceeded
                      - rate_limited
                      - rate_limit_unavailable
                      - conflict
                      - idempotency_key_reuse
                      - candidate_opted_out
                      - recently_contacted
                      - request_in_progress
                      - unprocessable
                      - bad_request
                      - payload_too_large
                      - internal_error
                      - service_unavailable
                    example: not_found
                    description: Stable machine-readable error code.
                  request_id:
                    type: string
                    example: 9f2c1d7e-4a3b-4c8d-9e0f-1a2b3c4d5e6f
                    description: >-
                      Request ID, also echoed in the X-Request-Id response
                      header. Include it when reporting issues.
                required:
                  - error
      security:
        - ApiKeyAuth: []
components:
  schemas:
    Location:
      type: object
      properties:
        coords:
          type: object
          nullable: true
          properties:
            longitude:
              type: number
              minimum: -180
              maximum: 180
            latitude:
              type: number
              minimum: -90
              maximum: 90
          required:
            - longitude
            - latitude
        city:
          type: string
          example: San Francisco
        region:
          type: string
          example: California
        country:
          type: string
          example: United States
        zip_code:
          type: string
          example: '94105'
        region_code:
          type: string
          example: CA
        country_code:
          type: string
          example: US
        location_str:
          type: string
          example: San Francisco, CA
        workplace_type:
          type: string
          enum:
            - remote
            - onsite
            - hybrid
          example: onsite
      required:
        - workplace_type
      description: Job location details
    FAQ:
      type: object
      properties:
        question:
          type: string
          minLength: 1
          example: What are the working hours?
        answer:
          type: string
          minLength: 1
          example: Monday to Friday, 9am-5pm
      required:
        - question
        - answer
      description: Frequently asked question
    ApplicationQuestion:
      type: object
      properties:
        question:
          type: string
          example: Do you have a valid driver's license?
          description: Question text (v2 format)
        type:
          type: string
          enum:
            - yes_no
            - text
            - multiple_choice
          example: yes_no
        required:
          type: boolean
          default: true
        disqualify_on:
          type: string
          example: 'No'
          description: Answer that disqualifies the candidate
        options:
          type: array
          items:
            type: string
          example:
            - 'Yes'
            - 'No'
          description: Options for multiple choice questions
        id:
          type: string
          description: Unique question ID from your system (v1 format)
        remote_id:
          type: string
          nullable: true
          description: Question ID in your ATS
        title:
          type: string
          description: Question text (v1 format — alias for question)
        description:
          type: string
          nullable: true
          description: Elaboration on the question
        format:
          nullable: true
          description: >-
            Display format object (v1 format — TEXT, SINGLE_SELECT, BOOLEAN,
            etc.)
        index:
          type: number
          nullable: true
          description: Display order in application
        precondition_question_id:
          type: string
          nullable: true
          description: ID of preceding conditional question
        precondition_options:
          nullable: true
          description: Conditional answer options
      description: >-
        Screening/knockout question. Accepts both v2 simplified and v1 complex
        ATS formats.
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-API-KEY
      description: Your Classet API key. Create and rotate keys in Settings → API.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.