Skip to main content
patch/cover-letters/{id}
Request example
Response
patch/cover-letters/{id}

Authorization

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

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

Path parameters

idstringrequired#

Length: min 1

Body

application/json
expectedRevisionintegerrequired#

Range: 1–9007199254740991

namestring#

Length: 1–100

recipientstring#

Length: max 20000

contentstring#

Length: max 100000

greetingstring · null#
signOffstring · null#
templateenum<string>#
Sets the letter's own template, which unlinks its design.
Options:azurillbronzorchikoritaditgardittogengarglaliekakunalaprasleafishmeowthonyxpersianpikachuporygonrhyhornscizorsmeargle
metadataobject#
Sets the letter's own type, colors and page settings, which unlinks its design.
recipientNamestring#

Length: max 200

recipientCompanystring#

Length: max 200

letterDatestring · null#
resumeIdstring · null#
The resume the letter goes with.
applicationIdstring · null#
The job the letter is for.
senderLinkedboolean#
Take the sender's details live from the resume.
designLinkedboolean#
Take the design live from the resume.
sessionIdstring#
The editing session; its saves share one History version, refreshed every two minutes.

Length: 1–64

Responses

application/json
The updated 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#