Skip to main content
post/cover-letters
Request example
Response
post/cover-letters

Authorization

x-api-keystringheaderrequired#
The API key to authenticate requests.

2 alternative authorization methods available — see the spec for details.

Body

application/json
namestringrequired#

Length: 1–100

recipientstring#

Default: ""

Length: max 20000

contentstring#

Default: ""

Length: max 100000

greetingstring · null#
signOffstring · null#
resumeIdstring#
The resume it goes with; its details and design are linked.

Length: min 1

applicationIdstring#
The job it's for; it fills the recipient.

Length: min 1

templateenum<string>#
Options:azurillbronzorchikoritaditgardittogengarglaliekakunalaprasleafishmeowthonyxpersianpikachuporygonrhyhornscizorsmeargle
layoutenum<string>#
Defaults to structured, or freeform when a recipient block is given.
Options:structuredfreeform
recipientNamestring#

Length: max 200

recipientCompanystring#

Length: max 200

letterDatestring · null#
YYYY-MM-DD; defaults to today.

Responses

application/json
The newly created cover letter.
namestringrequired#

Length: 1–100

recipientstringrequired#

Length: max 20000

contentstringrequired#

Length: max 100000

greetingstring · null#
Custom greeting; null uses the document language default, empty omits it.

Default: null

signOffstring · null#
Custom signature including name and optional contact details; null uses the document language default with the sender's name, empty omits it.

Default: null

styleobjectrequired#
layoutenum<string>#
structured: recipient name, company and date fields, a greeting from the name, the body and a sign-off. freeform: the recipient block and body as written (letters from before structured letters).

Default: "freeform"

Options:structuredfreeform
recipientNamestring#
Who the letter is to: a person, or a team.

Default: ""

Length: max 200

recipientCompanystring#

Default: ""

Length: max 200

letterDatestring · null#
The letter's date, as YYYY-MM-DD.

Default: null

idstringrequired#
sourceResumeIdstring · nullrequired#
sourceApplicationIdstring · nullrequired#
senderLinkedbooleanrequired#
The sender's details come live from the source resume, instead of the copy in style.
designLinkedbooleanrequired#
The design comes live from the source resume, instead of the copy in style.
isLockedbooleanrequired#
Locked letters can't be edited or moved to Trash until they're unlocked.
revisionintegerrequired#

Range: 1–9007199254740991

createdAtstringrequired#
updatedAtstringrequired#