---
title: "Sync X Dms"
method: POST
path: "/api/channels/x/{account_id}/sync"
tags: ["channels", "channels", "channels-x"]
---

# Sync X Dms

`POST /api/channels/x/{account_id}/sync`

## Request

- Base URL: `https://api.dialogbrain.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.dialogbrain.com/api/channels/x/{account_id}/sync`
- Auth: none declared

On-demand X DM read for one workspace account.

Runs a single GET /2/dm_events all-conversations poll (cost-efficient; X is
billed per read and is not polled in the background). New DMs are persisted
and pushed over WebSocket. Called by the inbox "refresh" action for X.

## Path parameters

- `account_id` string, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/dialogbrain/apis/dialogbrain-v2-api-gateway.md) · [All operations](https://skmtc.dev/dialogbrain/apis/dialogbrain-v2-api-gateway/llms.txt) · [OpenAPI document](https://skmtc.dev/dialogbrain/apis/dialogbrain-v2-api-gateway/revisions/d84e7dc9977d?raw)
