List automations
const url = 'https://api.tryletterhead.com/api/v3/automations?api=true';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://api.tryletterhead.com/api/v3/automations?api=true' \ --header 'Authorization: Bearer <token>'List your company’s automations (Automation Series), with each one’s status, channel, schedule,
and the segment and template it sends. Filter by status, channels, or a keyword search
against the title, and sort with orderBy/direction.
A note on this response
Each item includes the automation’s and its channel’s and newsletter’s internal numeric ids
(channelId, newsletterId) alongside the usual slugs and unique id. This reference documents
the response as the API actually returns it today.
v3 endpoints expect a company API key.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Query Parameters
Section titled “Query Parameters ”Required. Set to true.
Optional. Restrict the list to automations whose title contains this text.
Optional. Restrict the list to automations in this status: 0=draft, 1=running, 2=paused, 5=processing, 9=error. Omit to return automations in any status.
Optional. Restrict the list to automations on these channel slugs.
Optional. Sort field: createdAt, updatedAt, title, status, channel, or next. Defaults to createdAt.
Optional. Sort direction, asc or desc. Defaults to desc.
Optional. Page number, starting at 1. Defaults to 1.
Optional. Results per page. Defaults to 10.
Responses
Section titled “ Responses ”200 OK
object
object
0=draft, 1=running, 2=paused, 5=processing, 9=error.
0=scheduled series, 1=triggered on a new subscriber.
The steps this automation runs, each naming the template it sends.
object
object
Example
{ "items": [ { "uniqueId": "abcdefhik", "title": "Welcome Series - Step 1", "status": 1, "type": 0, "actions": [ { "templateId": "xyz12345", "type": 0 } ], "channel": "An Example Channel", "channelId": 101, "channelSlug": "an-example-channel", "newsletterId": 555, "organizationSlug": "example-org", "segmentId": 42, "segmentName": "All Subscribers", "templateName": "Welcome Email", "titleMode": 0, "manualTitle": null, "previewTextMode": 0, "manualPreviewText": null, "hasDynamicTitle": false, "hasDynamicPreviewText": false, "isAutopilot": false, "frequency": { "daysOfWeek": [ 1 ], "time": "09:00", "weeksInterval": 1 }, "next": "2026-08-27 09:00:00", "previous": "2026-08-20 09:00:00", "validationCode": null, "createdAt": "2026-01-05 12:00:00", "updatedAt": "2026-08-20 09:05:00" } ], "message": "Automations fetched successfully.", "total": 1}Still can’t find what you need? Contact support.