---
title: "List automations"
method: GET
path: "/socials/automations"
tags: ["Socials"]
---

# List automations

`GET /socials/automations`

## Request

- Base URL: `https://api.crevio.co/v1`
- URL: `https://api.crevio.co/v1/socials/automations`
- Auth: API key in header `Authorization`

The business's comment and story automations (comment a keyword, get a DM), with their counters. Read GET /socials/automations/{id}/logs to see who triggered one and why a DM was skipped.

## Query parameters

- `platform` string
- `account_id` string

## Response `200`

Automations

- object
  - `object` 'list', required
  - `data` object[], required
    - `id` string, required
    - `object` 'social_automation', required
    - `platform` 'instagram' | 'facebook' | 'tiktok' | 'threads' | 'linkedin' | 'youtube', required
    - `account_id` string, required: Connected account it runs on (sacct_ prefix id).
    - `name` string: Shown to the business in the Automations page.
    - `trigger` 'comment' | 'live_comment' | 'story_reply' | 'story_mention': `comment` (default): a comment on a post. `story_reply`: a reply to a story. `story_mention`: a story that mentions the account; send `keywords: []`. Every trigger but `comment` is Instagram only.
    - `keywords` string[]: Words that fire it. An empty list fires on every comment.
    - `match_mode` 'word' | 'contains' | 'exact': `word` matches the keyword as a whole word, `contains` anywhere ("app" fires on "happy"), `exact` only when the whole comment is the keyword. Defaults to `contains`; prefer `word`.
    - `exclude_keywords` string[]: Comments containing any of these never fire it.
    - `dm_message` string: The private DM. Required on Instagram and Facebook; rejected on TikTok, Threads, LinkedIn and YouTube, which have no private reply. `{{first_name}}`, `{{name}}` and `{{username}}` are filled in. 640 characters at most when buttons are set.
    - `buttons` object[]: Up to 3 link buttons under the DM. Send [] to remove them. Instagram may refuse buttons in a first DM to someone who does not follow the account, which spends that comment's one private reply: for cold audiences send plain text and the link after they answer.
      - `title` string, required: Button label, 20 characters at most.
      - `url` string, required: Link the button opens. Clicks are counted in stats.link_clicks.
    - `comment_reply` string: Public reply under the comment, e.g. "Sent you a DM!". Required on TikTok, Threads, LinkedIn and YouTube, where it is the only action.
    - `public_reply_policy` 'after_dm' | 'always': `after_dm` posts the public reply only once the DM went out.
    - `also_match_in_dms` boolean: Also answer a DM that contains a keyword. Needs at least one keyword. Use it for a printed QR code or sign: "scan, then send MENU".
    - `dm_delay_seconds` integer: Wait this long before sending the DM, up to 86400.
    - `audience` object: Who gets the DM. Instagram only.
      - `follower_status` 'any' | 'follower' | 'non_follower': `follower` makes it a followers-only reward.
      - `when_unknown` 'send' | 'skip' | 'verify': Instagram only says whether someone follows the account once they have messaged it. `verify` sends a one-tap "I'm following" check first and delivers the DM after the tap; use it with `follower`.
    - `follow_gate` object: The one-tap follow check sent when audience.when_unknown is `verify`.
      - `message` string: Asks them to follow, then tap the button.
      - `button_label` string: Label of the tap button, e.g. "I'm following".
      - `not_following_message` string: Sent when they tap but still do not follow.
    - `repeat_policy` object: How often one person can trigger it. Defaults to once per person, ever.
      - `mode` 'once' | 'every_comment'
      - `cooldown_hours` integer: With `every_comment`: hours before the same person can trigger it again.
    - `platform_post_id` string, nullable: Only fire on this live post: the post's `id` from GET /socials/comments. Omit for every post; send null to unbind.
    - `post_id` string, nullable: Only fire on this scheduled or published Crevio post (spost_ prefix id); it arms itself when the post goes live. Send null to unbind.
    - `post_title` string, nullable: Snippet of the bound post, for display.
    - `active` boolean, required: false pauses it.
    - `stats` object, nullable: Counters: triggered, dms_sent, dms_failed, unique_contacts, link_clicks, unique_clicks, audience_skipped, follow_gate_sent, follow_gate_passed.
    - `created_at` string, date-time
  - `has_more` boolean, required
  - `url` string, required

## Other responses

- `401`: Authentication required
- `403`: Forbidden
- `409`: Conflict
- `422`: Validation error
- `429`: Rate limit exceeded — 600 requests per minute per owner on the free tier: every API key and OAuth token one person holds on an account shares one budget, and the account's team keys share another. Retry after the number of seconds in `Retry-After`.
- `500`: Internal server error

## Changes

- **2026-11-15** `56c22ab9b282`: 6 warning
  - added the new `idempotency_error` enum value to the `error/type` response property for the response status `401`
  - added the new `idempotency_error` enum value to the `error/type` response property for the response status `403`
  - added the new `idempotency_error` enum value to the `error/type` response property for the response status `409`
  - added the new `idempotency_error` enum value to the `error/type` response property for the response status `422`
  - …2 more
- **2026-11-13** `e5bdd835eb2a`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/crevio/apis/crevio-api-v1/changes/socials/automations/get.md)

---

[API](https://skmtc.dev/crevio/apis/crevio-api-v1.md) - [All operations](https://skmtc.dev/crevio/apis/crevio-api-v1/llms.txt) - [OpenAPI document](https://skmtc.dev/crevio/apis/crevio-api-v1/revisions/ccbd8fcbd6d7?raw)
