---
title: "Get Automations By Media"
method: POST
path: "/v1/automation_table/by_media"
tags: ["automation_table"]
---

# Get Automations By Media

`POST /v1/automation_table/by_media`

## Request

- Base URL: `https://api.linktodm.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.linktodm.com/v1/automation_table/by_media`
- Auth: HTTP bearer

The user's published basic automations and flows on each of the given
media, keyed by media id: record id, name and whether each is on. Drafts
are left out.

## Request body

- AutomationsByMediaPayload
  - `media_ids` string[], required

## Response `200`

Successful Response

- AutomationsByMediaResponse
  - `automations` object, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/linktodm/apis/salesmorph.md) - [All operations](https://skmtc.dev/linktodm/apis/salesmorph/llms.txt) - [OpenAPI document](https://skmtc.dev/linktodm/apis/salesmorph/revisions/4af0ad5dbe92?raw)
