---
title: "Get All Automations Counts"
method: GET
path: "/v1/automation_table/counts"
tags: ["automation_table"]
---

# Get All Automations Counts

`GET /v1/automation_table/counts`

## 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_table/counts`
- Auth: HTTP bearer

Counts for the table's status tabs and filter popup. Takes the same
query as the rows; page and limit are ignored.

## Query parameters

- `facebook_account_id` string, nullable
- `instagram_user_id` string, nullable
- `channel_id` string, nullable
- `category` 'post' | 'story' | 'inbox' | 'flow' | 'basic' | 'all' | 'conversation_starter': Automation category.
- `search` string, nullable
- `page` integer
- `limit` integer
- `automation_types[]` AutomationTypeFilter[]
- `triggers[]` AutomationTriggerFilter[]
- `created_after` string, date-time, nullable
- `created_before` string, date-time, nullable
- `status` 'draft' | 'live' | 'paused': The status tabs of the automations table. Draft, live and paused partition all: paused is what was switched off and is not a draft.
- `include_conversation_starter` boolean

## Response `200`

Successful Response

- AllAutomationsCountsResponse: The counts of the automations table's toolbar and filter popup.
  - `total` integer, required
  - `status` AutomationStatusCounts, required: Rows per status tab under the current search and filters.
    - `all` integer
    - `draft` integer
    - `live` integer
    - `paused` integer
  - `automation_types` object, required
  - `triggers` object, required

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