---
search:
  tags:
    - DM Endpoints
    - POST
seo:
  description: >-
    Get DM history via XChat encrypted chat API. Use count for page size…
    Reference for the POST /v3/twitter/dm-history endpoint in the TwexAPI REST
    API API.
sidebar:
  badge: POST
  label: Get DM History (XChat v3)
title: Get DM History (XChat v3)
type: openapi-operation
---
Get DM history via XChat encrypted chat API. Use count for page size (10–200). Set all=true to follow has_more and return every page. Or paginate manually: when has_more is true, pass the oldest message's sequence_id as before.

<Operation source="api-reference" id="dm-history-api-v3-v3-twitter-dm-history-post" />
