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

> ## Agent Instructions
> Product noun is jobs.
> MCP at https://rest.hotfix.jobs/mcp is the hiring contract for agents. Clients sign in with Hotfix; API keys are for HTTP only.
> Do not invent unpublished REST or hiring stats. Webhooks are set up in the app; there is no REST route or MCP tool to manage them.
> Do not mention Greenhouse, Ashby, Quick Apply, or claim.
> Creating a draft, offer, or booking link does not send email.

# preview_close_job

> Who is still in a job's pipeline before you close it, and what closing does about them: open applications by status, scheduling links closing cancels, interviews still booked (closing leaves them on the calendar), an active Job closed automation that covers the job, the Position closed template, and whether you can send from Google Workspace.



## OpenAPI

````yaml /openapi.json get /v1/employer/jobs/{job_id}/close-preview
openapi: 3.1.0
info:
  title: Hotfix hiring API
  version: 1.0.0
  description: >-
    Employer hiring surface under /v1/employer, plus the public careers page
    reads under /v1/boards. Routes take an employer session Bearer token. Hiring
    data routes also accept a company API key (hf_…); mail and drafts are
    session only. Agents should prefer MCP at https://rest.hotfix.jobs/mcp,
    where they sign in with Hotfix. It is not a dump of
    rest.hotfix.jobs/openapi.json.
servers:
  - url: https://rest.hotfix.jobs
    description: Production
security: []
tags:
  - name: Applications
  - name: Jobs
  - name: Careers page
  - name: Interviews
  - name: Offers
  - name: Mail
  - name: Automations
  - name: Fields
paths:
  /v1/employer/jobs/{job_id}/close-preview:
    get:
      tags:
        - Jobs
      summary: preview_close_job
      description: >-
        Who is still in a job's pipeline before you close it, and what closing
        does about them: open applications by status, scheduling links closing
        cancels, interviews still booked (closing leaves them on the calendar),
        an active Job closed automation that covers the job, the Position closed
        template, and whether you can send from Google Workspace.
      operationId: preview_close_job
      parameters:
        - name: job_id
          in: path
          required: true
          description: Job UUID.
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
              example:
                open:
                  new: 5
                  considering: 2
                  interviewing: 1
                pending_links: 1
                booked_interviews: 1
                rule: null
                template_id: 5c1f0d2a-9b8e-4c7d-a6f5-e4d3c2b1a098
                can_email: true
      security:
        - ApiKey: []
        - BearerAuth: []
components:
  securitySchemes:
    ApiKey:
      type: http
      scheme: bearer
      description: >-
        Company API key minted at Settings → API. Prefix hf_. Accepted on hiring
        data routes. Not accepted on MCP.
    BearerAuth:
      type: http
      scheme: bearer
      description: Employer session JWT from Better Auth.

````

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