Create Cover Letter
Cover Letters
Create Cover Letter
Create a cover letter attached to a resume
POST
Create Cover Letter
Documentation Index
Fetch the complete documentation index at: https://docs.mokaru.ai/llms.txt
Use this file to discover all available pages before exploring further.
Overview
Create a cover letter and link it to a resume. A cover letter cannot exist on its own:cvId is required and must reference an existing resume the caller owns. If the user has no resumes yet, create one first via POST /v1/resume. A resume can have at most one cover letter (the cvId link is unique). If one already exists, this endpoint returns 409 Conflict with the existing id - use PATCH /v1/cover-letter/{id} to update instead.
Plus plan only. This endpoint returns
403 Forbidden with { requiresUpgrade: true } if the user is on the free plan. The free read/list/delete endpoints stay available so downgraded users can still see and clean up their existing cover letters.Scope required:
cover-letter:write | Rate limit: 10 requests/minRequest
Body Parameters
Resume id this cover letter belongs to. Must be owned by the caller.
Cover letter title (max 200 chars).
Body text. Markdown allowed - the builder renders it.
Optional cover letter template id.
Mark as the user’s default cover letter (unsets any existing default).
Template-variable map, e.g.
{ "company": "Acme", "contactPerson": "Jane Doe" }. Values are strings.Header: show name.
Header: show email.
Header: show phone.
Header: show address.
left | center | right.Font family.
Font size in pt.
Line spacing.
Example
Response
Whether the cover letter was created.
The new cover letter’s unique ID.
Error: cover letter already exists
409 Conflict.