Schedule letter
Schedule an existing letter by its unique identifier, or generate and schedule a new letter by using the unique identifier of a template.
What is the letter or template’s unique identifier? The unique identifier is an alphanumeric string, often around ten digits. It looks like abcdefhijk.
How does the API behave when a given letter or template has a specific status?
- If the letter is a draft, or it’s already been scheduled but not yet published, then Letterhead will reschedule that letter for the desired time.
- If the letter has already been published, then Letterhead won’t resend it, and the API will return a
400. - If the template is active, then Letterhead will use that template to create an all-new email, produce it, and schedule it at the desired time.
- If the template is inactive, however, then Letterhead will assume your organization doesn’t want it used and our API will return a
400.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ”Request Body
Section titled “Request Body ”object
required | Declare the time to schedule the campaign for delivery in ISO 8601 format.
Example: 2024-05-29T15:15:00
The time is locale to the Channel’s timezone, for now, and must be at least 5 minutes in the future.
Example
{{ publicationDate }}required | Identify the audience segment you wish to target by passing its identifier. If you pass null, the Letter will send to its entire audience.
Example
{{ segmentUuid }}optional | Set the subject of your letter. If not present, the letter’s subject will be dynamically set based on the first heading found in the content.
Example
Responses
Section titled “ Responses ”Still can’t find what you need? Contact support.