---
title: "Send Automation Dm"
method: POST
path: "/v1/automation/send_automation_dm"
tags: ["automation"]
---

# Send Automation Dm

`POST /v1/automation/send_automation_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/send_automation_dm`
- Auth: none declared

## Headers

- `x-admin-api-key` string

## Request body

- SendAutomationDMPayload
  - `automation_id` integer, required
  - `recipient_id` string, required
  - `recepient_username` string, nullable
  - `instagram_business_account_id` string, nullable
  - `instagram_user_id` string, nullable
  - `facebook_account_id` string, nullable
  - `payload_type` 'opener' | 'ask_to_follow' | 'follow_up' | 'dm_message' | 'flow_automation_postback_message_button' | 'dm_quick_reply'

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