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

# Create a search

> Creates a search (job opening) the same way as the New job form in the app. Add a description or notes so Find more candidates and Analyse a candidate have something to work from. Scope `jobs:write`.




## OpenAPI

````yaml /openapi.json post /jobs
openapi: 3.1.0
info:
  title: Kudo Hires API
  version: 1.1.0
  summary: >-
    Create searches, read their candidates, find more candidates and analyse one
    candidate against a search.
  description: >
    One key per workspace. Nothing here contacts a candidate or a client. New
    candidates land on the search's pipeline at stage "sourced" for the
    recruiter to review, tagged "Web check pending". Every answer is JSON. Lists
    are pages ({data, next_cursor, has_more}); every error is {"error": {"code",
    "message"}}.
  contact:
    name: Kudo Hires
    url: https://app.kudohires.com
  license:
    name: Proprietary
    identifier: LicenseRef-KudoHires
servers:
  - url: https://app.kudohires.com/api/v1
    description: Production.
security:
  - ApiKey: []
tags:
  - name: Workspace
    description: Who you are.
  - name: Searches
    description: The searches (job openings) of the workspace.
  - name: Candidates
    description: The people on a search.
  - name: Find more candidates
    description: Queue a search for more candidates and follow it.
  - name: Analyse a candidate
    description: >-
      Score one person against a search, from a LinkedIn URL or pasted profile
      text.
paths:
  /jobs:
    post:
      tags:
        - Searches
      summary: Create a search
      description: >
        Creates a search (job opening) the same way as the New job form in the
        app. Add a description or notes so Find more candidates and Analyse a
        candidate have something to work from. Scope `jobs:write`.
      operationId: createJob
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateJobRequest'
            examples:
              request:
                $ref: '#/components/examples/create_job_request'
      responses:
        '201':
          description: Created.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CreatedJob'
              examples:
                created:
                  $ref: '#/components/examples/create_job_response'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '503':
          $ref: '#/components/responses/Unavailable'
components:
  schemas:
    CreateJobRequest:
      type: object
      additionalProperties: false
      required:
        - title
        - company_name
      properties:
        title:
          type: string
          minLength: 1
          maxLength: 300
          description: The role, e.g. Sales Developer, German market.
        company_name:
          type: string
          minLength: 1
          maxLength: 300
          description: The hiring company.
        company_domain:
          type: string
          maxLength: 255
          description: e.g. example.com (a URL is accepted and reduced to its domain).
        company_linkedin_url:
          type: string
          maxLength: 300
          description: https://www.linkedin.com/company/<name>
        description:
          type: string
          maxLength: 100000
          description: The job description.
        notes:
          type: string
          maxLength: 20000
          description: >-
            Anything else the search should know (must-haves, target companies,
            budget). Saved as a note on the search.
        status:
          type: string
          enum:
            - active
            - on_hold
          default: active
        location:
          type: string
          maxLength: 300
        employment_type:
          type: string
          maxLength: 100
        compensation:
          type: string
          maxLength: 300
          description: The salary as written.
        hiring_manager_name:
          type: string
          maxLength: 200
    CreatedJob:
      type: object
      additionalProperties: false
      description: The Job, plus links to what you can do next.
      required:
        - id
        - title
        - status
        - company_name
        - location
        - updated_at
        - description
        - employment_type
        - remote_allowed
        - opened_at
        - created_at
        - links
      properties:
        id:
          type: string
          format: uuid
        title:
          type: string
        status:
          $ref: '#/components/schemas/JobStatus'
        company_name:
          type:
            - string
            - 'null'
        location:
          type:
            - string
            - 'null'
        updated_at:
          type: string
          format: date-time
        description:
          type:
            - string
            - 'null'
        employment_type:
          type:
            - string
            - 'null'
        remote_allowed:
          type:
            - boolean
            - 'null'
        opened_at:
          type:
            - string
            - 'null'
          format: date-time
        created_at:
          type: string
          format: date-time
        links:
          type: object
          additionalProperties: false
          required:
            - self
            - find_more
            - analyze_candidate
          properties:
            self:
              type: string
              format: uri
            find_more:
              type: string
              format: uri
            analyze_candidate:
              type: string
              format: uri
    JobStatus:
      type: string
      enum:
        - active
        - on_hold
        - filled
        - lost
        - archived
    Error:
      type: object
      additionalProperties: false
      required:
        - error
      properties:
        error:
          type: object
          additionalProperties: false
          required:
            - code
            - message
          properties:
            code:
              type: string
              description: >
                Stable machine code: invalid_request, invalid_api_key,
                insufficient_scope, workspace_inactive, view_as_not_allowed,
                forbidden, not_found, search_in_flight, missing_brief,
                job_not_active, too_many_unreviewed, not_enabled,
                auth_unavailable, unavailable, profile_not_found, daily_limit,
                not_configured.
            message:
              type: string
              description: A sentence for a person.
  examples:
    create_job_request:
      summary: A sales search with a brief
      value:
        title: Sales Developer, German market
        company_name: Example Co
        company_domain: example.test
        location: Barcelona, Spain
        description: >-
          Outbound prospecting into DACH SMBs. Native German, 1-3 years in B2B
          sales or customer success.
        notes: Must be native German. Based in Barcelona or willing to relocate.
    create_job_response:
      summary: The new search with its links
      value:
        id: 6f1c2b8e-3a4d-4c5e-9f60-7a8b9c0d1e2f
        title: Sales Developer, German market
        status: active
        company_name: Example Co
        location: Barcelona, Spain
        updated_at: '2026-11-25T18:00:00Z'
        description: >-
          Outbound prospecting into DACH SMBs. Native German, 1-3 years in B2B
          sales or customer success.
        employment_type: null
        remote_allowed: null
        opened_at: null
        created_at: '2026-11-25T18:00:00Z'
        links:
          self: >-
            https://app.kudohires.com/api/v1/jobs/6f1c2b8e-3a4d-4c5e-9f60-7a8b9c0d1e2f
          find_more: >-
            https://app.kudohires.com/api/v1/jobs/6f1c2b8e-3a4d-4c5e-9f60-7a8b9c0d1e2f/find-more
          analyze_candidate: >-
            https://app.kudohires.com/api/v1/jobs/6f1c2b8e-3a4d-4c5e-9f60-7a8b9c0d1e2f/analyze-candidate
    error_invalid_request_response:
      summary: Unknown body field
      value:
        error:
          code: invalid_request
          message: 'Unknown field: review_gate_override. Allowed: max_candidates, note.'
    error_invalid_api_key_response:
      summary: Missing or revoked key
      value:
        error:
          code: invalid_api_key
          message: Missing, unknown or revoked API key.
    error_workspace_inactive_response:
      summary: Workspace not active
      value:
        error:
          code: workspace_inactive
          message: This workspace is not active. Contact Kudo Hires.
    error_auth_unavailable_response:
      summary: Try again
      value:
        error:
          code: auth_unavailable
          message: Could not check the API key right now. Please try again.
  responses:
    BadRequest:
      description: >-
        The request is not valid (unknown body field, bad max_candidates, limit,
        status, stage or cursor). Code invalid_request.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          examples:
            invalid:
              $ref: '#/components/examples/error_invalid_request_response'
    Unauthorized:
      description: Missing, unknown or revoked key. Code invalid_api_key.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          examples:
            invalid_key:
              $ref: '#/components/examples/error_invalid_api_key_response'
    Forbidden:
      description: >-
        The key lacks the scope (insufficient_scope), the workspace is not
        active (workspace_inactive) or the request came from a view-as session
        (view_as_not_allowed).
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          examples:
            inactive:
              $ref: '#/components/examples/error_workspace_inactive_response'
    Unavailable:
      description: >-
        The key or the data could not be checked right now (auth_unavailable,
        unavailable). Retry later.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          examples:
            unavailable:
              $ref: '#/components/examples/error_auth_unavailable_response'
  securitySchemes:
    ApiKey:
      type: http
      scheme: bearer
      description: >-
        Per-workspace key issued by Kudo Hires (starts with kh_live_). Send it
        in the Authorization header, never in a URL.

````

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