Skip to content
Letterhead Letterhead Letterhead Help Center
Admin Tools

Update a letter's publication status

POST
/api/v3/letters/{letterUuid}/update-status
curl --request POST \
--url https://api.tryletterhead.com/api/v3/letters/example/update-status \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "publicationStatus": 9 }'

Change a letter’s publication status. This is the narrower alternative updateALetter points to when you only need to move a letter between statuses rather than round-tripping the whole letter.

Scheduling and sending a letter to go out are not done through this endpoint — use the send/schedule endpoints for that. publicationStatus here is restricted to the template-lifecycle statuses: 3 (template), 8 (configuring), or 9 (configured).

letterUuid
required
string

The letter’s unique identifier — an alphanumeric string around ten characters, e.g. ludctamgd6.

Media type application/json
object
publicationStatus
required

One of 3 (template), 8 (configuring), 9 (configured).

integer
Example
{
"publicationStatus": 9
}

Letter status updated

Media type application/json
string
Example
Letter status updated.

Still can’t find what you need? Contact support.