---
title: "Get automation flows"
method: GET
path: "/api/v1/automations"
tags: ["automation"]
---

# Get automation flows

`GET /api/v1/automations`

## Request

- Base URL: `https://api.bundle.social`
- URL: `https://api.bundle.social/api/v1/automations`
- Auth: API key in header `x-api-key`

List the automation flows of a team, newest first. Filter by `socialAccountId`, `status` and `platformScope`. Paginate with `offset` and `limit` (default 10). The response always carries the full `total`.

## Query parameters

- `teamId` string, required
- `status` 'DRAFT' | 'ACTIVE' | 'PAUSED' | 'ARCHIVED'
- `platformScope` 'INSTAGRAM' | 'FACEBOOK' | 'BOTH' | 'TIKTOK'
- `socialAccountId` string
- `offset` number, nullable
- `limit` number, nullable

## Response `200`

200

- object
  - `items` object[], required
    - `id` string, required
    - `teamId` string, required
    - `organizationId` string, nullable
    - `name` string, required
    - `status` 'DRAFT' | 'ACTIVE' | 'PAUSED' | 'ARCHIVED', required
    - `platformScope` 'INSTAGRAM' | 'FACEBOOK' | 'BOTH' | 'TIKTOK', required
    - `createdByUserId` string, nullable
    - `createdAt` string, date-time, nullable, required
    - `updatedAt` string, date-time, nullable, required
    - `deletedAt` string, date-time, nullable
    - `draftVersion` object
      - `id` string, required
      - `flowId` string, required
      - `version` number, required
      - `status` 'DRAFT' | 'PUBLISHED' | 'RETIRED', required
      - `definition` object, required
        - `trigger` object, required
          - `keywords` string[]
          - `matchMode` 'ANY' | 'ALL'
          - `caseSensitive` boolean
          - `senderExternalIds` string[]
          - `payloads` string[]
          - `actionDelaySeconds` integer
          - `id` string
          - `type` 'COMMENT_CREATED' | 'DM_RECEIVED' | 'QUICK_REPLY_CLICKED' | 'BUTTON_CLICKED' | 'MANUAL_TEST', required
          - `platform` 'INSTAGRAM' | 'FACEBOOK' | 'TIKTOK', required
          - `socialAccountId` string, required
          - `postId` string, nullable
        - `steps` union[], required
          - union
            - object
              - …
            - object
              - …
            - object
              - …
            - object
              - …
            - object
              - …
            - object
              - …
            - object
              - …
      - `publishedAt` string, date-time, nullable
      - `publishedByUserId` string, nullable
      - `createdAt` string, date-time, nullable, required
    - `publishedVersion` object
      - `id` string, required
      - `flowId` string, required
      - `version` number, required
      - `status` 'DRAFT' | 'PUBLISHED' | 'RETIRED', required
      - `definition` object, required
        - `trigger` object, required
          - `keywords` string[]
          - `matchMode` 'ANY' | 'ALL'
          - `caseSensitive` boolean
          - `senderExternalIds` string[]
          - `payloads` string[]
          - `actionDelaySeconds` integer
          - `id` string
          - `type` 'COMMENT_CREATED' | 'DM_RECEIVED' | 'QUICK_REPLY_CLICKED' | 'BUTTON_CLICKED' | 'MANUAL_TEST', required
          - `platform` 'INSTAGRAM' | 'FACEBOOK' | 'TIKTOK', required
          - `socialAccountId` string, required
          - `postId` string, nullable
        - `steps` union[], required
          - union
            - object
              - …
            - object
              - …
            - object
              - …
            - object
              - …
            - object
              - …
            - object
              - …
            - object
              - …
      - `publishedAt` string, date-time, nullable
      - `publishedByUserId` string, nullable
      - `createdAt` string, date-time, nullable, required
  - `total` number, required

## Other responses

- `400`: 400
- `401`: 401
- `403`: 403
- `404`: 404
- `429`: 429
- `500`: 500
- `502`: 502
- `503`: 503
- `504`: 504

## Changes

- **2026-11-03** `fb6e4fbd8d2f`: 1 info
  - endpoint added

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

---

[API](https://skmtc.dev/bundle/apis/bundle-social-api.md) - [All operations](https://skmtc.dev/bundle/apis/bundle-social-api/llms.txt) - [OpenAPI document](https://skmtc.dev/bundle/apis/bundle-social-api/revisions/18efa1cb93a4?raw)
