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

# Get job by id

> Get a job by id



## OpenAPI

````yaml get /api/v2/jobs/{jobId}
openapi: 3.0.1
info:
  title: HireHive Jobs API
  description: >-
    API to get a paginated list of published jobs. You can also get a job by Id
    or a list of categories with the count of published jobs in those
    categories.<br>This will return live data. If your company does not have any
    published positions you can use our test account to play around with our
    API. <a
    href="https://hirehive-testing-account.hirehive.com/api-documentation/v2">Use
    HireHive test account</a> <br><a
    href="https://codepen.io/collection/XEWQqY/" target="_blank">View Codepen
    Examples</a>
  termsOfService: https://www.hirehive.com/terms-of-service/
  contact:
    email: support@hirehive.com
  version: v2
servers:
  - url: https://hirehive-testing-account.hirehive.com
security: []
paths:
  /api/v2/jobs/{jobId}:
    get:
      tags:
        - JobsAPIV2
      summary: Get a job by id
      parameters:
        - name: job_id
          in: query
          description: ''
          schema:
            type: integer
            format: int32
        - name: source
          in: query
          description: >-
            The source of the view/application that will be attributed in
            reports. Default CareerSite
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/JobAPIV2'
        '404':
          description: Job not found or is not published
components:
  schemas:
    JobAPIV2:
      type: object
      properties:
        id:
          type: integer
          description: The id of the job, format `job_abc123`.
          format: int32
        title:
          type: string
          nullable: true
        location:
          type: string
          nullable: true
        state_code:
          type: string
          nullable: true
        country:
          $ref: '#/components/schemas/JobCountry'
        salary:
          type: string
          nullable: true
        description:
          $ref: '#/components/schemas/JobDescription'
        category:
          $ref: '#/components/schemas/JobCategory'
        type:
          $ref: '#/components/schemas/JobType'
        experience:
          $ref: '#/components/schemas/JobExperience'
        language:
          $ref: '#/components/schemas/JobLanguage'
        published_date:
          type: string
          description: >-
            The date the job was last published. This will be `null` if the job
            was never published.
          format: date-time
        created_date:
          type: string
          description: The date the job was created.
          format: date-time
        hosted_url:
          type: string
          nullable: true
        compensation_tiers:
          type: array
          items:
            $ref: '#/components/schemas/CompensationTier'
          nullable: true
      additionalProperties: false
    JobCountry:
      type: object
      properties:
        name:
          type: string
          nullable: true
        code:
          type: string
          nullable: true
      additionalProperties: false
    JobDescription:
      type: object
      properties:
        html:
          type: string
          nullable: true
        text:
          type: string
          nullable: true
      additionalProperties: false
    JobCategory:
      type: object
      properties:
        id:
          type: integer
          description: The id of the category, format `cat_abc123`.
          format: int32
        name:
          type: string
          nullable: true
      additionalProperties: false
    JobType:
      type: object
      properties:
        type:
          type: string
          nullable: true
        name:
          type: string
          nullable: true
      additionalProperties: false
    JobExperience:
      type: object
      properties:
        type:
          type: string
          nullable: true
        name:
          type: string
          nullable: true
      additionalProperties: false
    JobLanguage:
      type: object
      properties:
        name:
          type: string
          nullable: true
        code:
          type: string
          nullable: true
      additionalProperties: false
    CompensationTier:
      type: object
      properties:
        label:
          maxLength: 1000
          type: string
          nullable: true
        type:
          $ref: '#/components/schemas/CompensationType'
        interval:
          $ref: '#/components/schemas/CompensationInterval'
        currency_code:
          maxLength: 3
          type: string
          nullable: true
        currency_symbol:
          type: string
          nullable: true
          readOnly: true
        min_value:
          type: number
          format: double
          nullable: true
        max_value:
          type: number
          format: double
          nullable: true
        information:
          maxLength: 1000
          type: string
          nullable: true
      additionalProperties: false
    CompensationType:
      enum:
        - none
        - fixed_salary
        - range_salary
      type: string
    CompensationInterval:
      enum:
        - none
        - hour
        - day
        - week
        - month
        - year
      type: string

````