> ## 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 with a company API key.
> Do not invent unpublished REST, hiring stats, or webhooks.
> Do not mention Greenhouse, Ashby, Quick Apply, or claim.
> Creating a draft, offer, or booking link does not send email.

# create_draft

> Save the open letter on one application. Does not send. A person still hits Send. MCP tool: create_draft. This replaces the one open draft. MCP can also start from a template_id. Tokens render when a person sends.



## OpenAPI

````yaml /openapi.json put /v1/employer/applications/{application_id}/draft
openapi: 3.1.0
info:
  title: Hotfix hiring API
  version: 1.0.0
  description: >-
    Employer hiring surface under /v1/employer. Most routes take an employer
    session Bearer token. GET resume also accepts a company API key (hf_…).
    Agents should prefer MCP at https://rest.hotfix.jobs/mcp with the same key.
    This is not the public catalog spec at hotfix.jobs/openapi.json, and 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: Interviews
  - name: Offers
  - name: Mail
  - name: Automations
paths:
  /v1/employer/applications/{application_id}/draft:
    put:
      tags:
        - Mail
      summary: create_draft
      description: >-
        Save the open letter on one application. Does not send. A person still
        hits Send. MCP tool: create_draft. This replaces the one open draft. MCP
        can also start from a template_id. Tokens render when a person sends.
      operationId: create_draft
      parameters:
        - name: application_id
          in: path
          required: true
          description: Application UUID.
          schema:
            type: string
      requestBody:
        required: false
        content:
          application/json:
            schema:
              type: object
              properties:
                subject:
                  type: string
                  description: Letter subject.
                body:
                  type: string
                  description: Letter body.
                send_at:
                  type: string
                  description: >-
                    Optional schedule time. The MCP tool does not set this. A
                    person still hits Send.
              required: []
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
              example:
                subject: Next steps
                body: Hi Jordan, here is a time to talk.
                send_at: null
                error: null
      security:
        - BearerAuth: []
components:
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      description: Employer session JWT from Better Auth.

````