---
title: "Get DM and automation run usage per social account (paginated)"
method: GET
path: "/api/v1/organization/usage/messages"
tags: ["organization"]
---

# Get DM and automation run usage per social account (paginated)

`GET /api/v1/organization/usage/messages`

## Request

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

See how many direct messages and automation runs each Facebook, Instagram and TikTok account has used this UTC calendar month against its monthly limits, paginated with `offset`/`limit` and filterable by team, platform or account. Messages counted: every message you sent, including private replies to comments. Not counted: reactions, marking a conversation as read, and inbound messages. Automation runs counted: every run that was allowed to start, including manual test runs; skipped and canceled runs are not counted. Limits reflect per-account and organization overrides on top of the plan default.

## Query parameters

- `offset` integer, nullable
- `limit` integer, nullable
- `teamId` string
- `socialAccountType` 'INSTAGRAM' | 'FACEBOOK' | 'TIKTOK'
- `socialAccountId` string

## Response `200`

200

- object
  - `items` object[], required
    - `id` string, required
    - `type` 'INSTAGRAM' | 'FACEBOOK' | 'TIKTOK', required
    - `username` string, nullable, required
    - `displayName` string, nullable, required
    - `messagesUsed` number, required
    - `messagesLimit` number, required
    - `automationRunsUsed` number, required
    - `automationRunsLimit` number, 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** `18efa1cb93a4`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/bundle/apis/bundle-social-api/changes/api/v1/organization/usage/messages/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)
