UseResume icon

UseResume

Generate professional resumes and cover letters with AI-powered tailoring

Create Cover Letter

AI-generated

Summary

Generate a PDF cover letter from structured JSON content

Inputs

  • coverLetterContent (required) — Cover letter content as JSON. See https://useresume.ai/resume-generation-api/docs for full schema.
  • coverLetterStyle (required) — Styling options. Templates: atlas, classic, clean, default, executive, etc.
  • downloadFile — Whether to download the generated PDF and return as binary data
  • outputBinaryPropertyName — Name of the binary property to store the downloaded file

Output shape

a list of items

Each item contains a 'json' object with the API response; if downloadFile is true and a file URL is returned, also includes a 'binary' object with the downloaded PDF under the specified outputBinaryPropertyName.

Examples

Example 1: Create a basic cover letter and download the PDF

coverLetterContent={"name":"John Doe","email":"john@example.com","text":"Dear Hiring Manager,..."}, coverLetterStyle={"template":"default","template_color":"blue"}, downloadFile=true, outputBinaryPropertyName="data"

Example 2: Create a tailored cover letter without downloading the file

coverLetterContent={"name":"John Doe","email":"john@example.com","text":"Base cover letter text..."}, coverLetterStyle={"template":"clean","template_color":"green"}, downloadFile=false

Links

Discussion