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

# Create job

> Create a new job posting in draft status with default pipeline stages.



## OpenAPI

````yaml /docs/openapi.yaml post /jobs
openapi: 3.1.0
info:
  title: Loam API
  description: >
    The Loam API allows you to programmatically manage your applicant tracking
    system.


    ## Authentication


    All API requests require a Bearer token in the Authorization header:


    ```

    Authorization: Bearer lk_your_api_key_here

    ```


    You can create API keys in your [Settings > API
    Keys](https://hireloam.com/settings/api-keys) page.


    ## Rate Limits


    API requests are rate limited to 1000 requests per hour per API key.

    Rate limit headers are included in all responses:


    - `X-RateLimit-Limit`: Maximum requests per hour

    - `X-RateLimit-Remaining`: Requests remaining in current window

    - `X-RateLimit-Reset`: Unix timestamp when the limit resets
  version: 1.0.0
  contact:
    name: Loam Support
    email: support@hireloam.com
servers:
  - url: https://hireloam.com/api/v1
    description: Production
security:
  - bearerAuth: []
tags:
  - name: Jobs
    description: Manage job postings
  - name: Applications
    description: Manage applications and candidates
  - name: Notes
    description: Add notes to applications
  - name: Feedback
    description: Add interview feedback
  - name: Candidates
    description: Manage candidate profiles
  - name: Search
    description: Search candidates
  - name: Sourcing
    description: Sourcing searches, prospects, and shortlists
paths:
  /jobs:
    post:
      tags:
        - Jobs
      summary: Create job
      description: Create a new job posting in draft status with default pipeline stages.
      operationId: createJob
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - title
              properties:
                title:
                  type: string
                  description: Job title
                description_md:
                  type: string
                  description: Job description in markdown
                department:
                  type: string
                  description: Department name
                location:
                  type: string
                  description: Job location
                employment_type:
                  type: string
                  enum:
                    - full_time
                    - part_time
                    - contract
                    - internship
                  description: Employment type
                show_salary:
                  type: boolean
                  description: Whether salary is shown publicly
                salary_currency:
                  type: string
                  enum:
                    - USD
                    - EUR
                    - GBP
                    - CAD
                    - AUD
                    - OTHER
                salary_timeframe:
                  type: string
                  enum:
                    - yearly
                    - monthly
                    - hourly
                salary_min:
                  type: number
                salary_max:
                  type: number
                equity_min:
                  type: number
                equity_max:
                  type: number
            example:
              title: Senior Software Engineer
              department: Engineering
              location: San Francisco, CA
              employment_type: full_time
      responses:
        '201':
          description: Job created
          content:
            application/json:
              schema:
                type: object
                properties:
                  job:
                    $ref: '#/components/schemas/Job'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '500':
          $ref: '#/components/responses/InternalError'
components:
  schemas:
    Job:
      type: object
      properties:
        id:
          type: string
          format: uuid
        title:
          type: string
        status:
          type: string
          enum:
            - published
            - draft
            - closed
        department:
          type: string
          nullable: true
        location:
          type: string
          nullable: true
        employment_type:
          type: string
          nullable: true
        public_slug:
          type: string
          nullable: true
        created_at:
          type: string
          format: date-time
        stages:
          type: array
          items:
            $ref: '#/components/schemas/Stage'
    Stage:
      type: object
      properties:
        id:
          type: string
          format: uuid
        name:
          type: string
        order_index:
          type: integer
    Error:
      type: object
      properties:
        error:
          type: object
          properties:
            code:
              type: string
              enum:
                - invalid_request
                - unauthorized
                - forbidden
                - not_found
                - rate_limit_exceeded
                - internal_error
            message:
              type: string
            details:
              type: object
  responses:
    BadRequest:
      description: Bad request - invalid or missing parameters
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            error:
              code: invalid_request
              message: job_id is required
    Unauthorized:
      description: Unauthorized - missing or invalid API key
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            error:
              code: unauthorized
              message: Invalid or missing API key
    Forbidden:
      description: Forbidden - insufficient permissions
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            error:
              code: forbidden
              message: 'Missing required scope: write'
    InternalError:
      description: Internal server error
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            error:
              code: internal_error
              message: An internal error occurred
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: API key from Settings > API Keys

````