---
title: "Generate Job Description Pdf"
method: POST
path: "/api/job-roles/generate-jd-pdf"
tags: ["Job Roles"]
---

# Generate Job Description Pdf

`POST /api/job-roles/generate-jd-pdf`

## Request

- Base URL: `https://api.thebetterhire.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.thebetterhire.ai/api/job-roles/generate-jd-pdf`
- Auth: HTTP bearer

Generate a PDF file from job description text

Takes the JD text and creates a professionally formatted PDF document.
Returns the PDF file as a downloadable response.

Requires: admin or recruiter role

## Request body

- GenerateJDPDFRequest: Request to generate a job description PDF
  - `job_title` string, required
  - `department` string, nullable
  - `jd_text` string, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/thebetterhire/apis/interanalysis-b2b-api.md) · [All operations](https://skmtc.dev/thebetterhire/apis/interanalysis-b2b-api/llms.txt) · [OpenAPI document](https://skmtc.dev/thebetterhire/apis/interanalysis-b2b-api/revisions/c8ad03e900ea?raw)
