DM Endpoints

Check DM Permissions (V2)

Check DM status signals for user IDs or usernames. Send the targets as a JSON string array; queries use service-managed accounts.

["44196397","elonmusk"]

Results keep the existing fields and batch/credit limits. can_dm_on_xchat=false alone does not mean ordinary DMs are unavailable; the returned signals do not guarantee that sending will succeed.

Coming soon: an object body with users and an optional sender cookie ({"users":[...],"cookie":"..."}). It is not yet available on the live API and currently returns HTTP 422; use the array format above until it ships.

post/v2/dm/status

Request

  • Base URL: https://api.twexapi.io
  • URL: https://api.twexapi.io/v2/dm/status
  • Auth: HTTP bearer

Request body

string[] required

Original user ID or username array. Queries use service-managed accounts.

OR

Example request

[
  "44196397",
  "elonmusk"
]

Response

A list of user DM status and verification metadata.

codeinteger required

The status code of the response.

msgstring required

The message of the response.

Changes

No recorded changes to this operation across all 1 revision of this API.