---
title: "Perform Auto Dm"
method: POST
path: "/v1/automation/perform_auto_dm"
tags: ["automation"]
---

# Perform Auto Dm

`POST /v1/automation/perform_auto_dm`

## 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/perform_auto_dm`
- Auth: none declared

## Headers

- `x-admin-api-key` string

## Request body

- PerformAutoDMPayload
  - `meta_api_mode` 'FACEBOOK' | 'INSTAGRAM' | 'FACEBOOK_PAGE', required
  - `comment_id` string, required
  - `media_id` string, required
  - `recepient_username` string, nullable
  - `comment` string, required
  - `recipient_id` string, nullable
  - `automation_id` integer, nullable
  - `instagram_business_account_id` string, nullable
  - `instagram_user_id` string, nullable
  - `automation_rewind_id` integer, nullable
  - `comment_already_sent` boolean
  - `facebook_account_id` string, nullable
  - `is_ad` boolean, nullable

## Response `200`

Successful Response

- unknown

## 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)
