---
title: "List DM automations"
method: GET
path: "/v2/dm-automations"
tags: ["automations"]
---

# List DM automations

`GET /v2/dm-automations`

Lists the current user's DM automations, ordered by creation time (most recent first). Supports cursor-based pagination.

## Query parameters

- `limit` integer
- `cursor` string

## Response `200`

Default Response

- object
  - `items` object[], required — List of DM automations
    - `accountId` string, required
    - `buttons` object[], required
      - `title` string, required
      - `type` 'url', required
      - `url` string
    - `createdAt` string, required
    - `dmMessage` string, required
    - `emailGate` object
      - `message` string, required
    - `followGate` object
      - `buttonTitle` string
      - `message` string, required
    - `id` string, required
    - `isActive` boolean, required
    - `name` string, required
    - `platform` 'facebook' | 'instagram', required
    - `publishedVersionId` string, nullable, required
    - `target` union, required
      - object
        - `pageId` string, required
        - `targetType` 'facebook', required
      - object
        - `targetType` 'instagram', required
    - `trigger` union
      - object
        - `isActive` boolean
        - `keywords` string[], required
        - `postId` string, nullable
        - `type` 'comment-received', required
      - object
        - `isActive` boolean
        - `keywords` string[], required
        - `type` 'message-received', required
    - `updatedAt` string, required
    - `webhook` object
      - `headers` object
      - `method` 'DELETE' | 'GET' | 'PATCH' | 'POST' | 'PUT', required
      - `url` string, required
  - `cursor` string — Cursor for the next page. Absent when there are no more DM automations.

## Other responses

- `404` — Not found
- `500` — Default Response

---

[API](https://skmtc.net/blotato/apis/blotato-api.md) · [All operations](https://skmtc.net/blotato/apis/blotato-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/blotato/blotato-api/revisions/c93447ba6b9d/schema)
