Home / Servers / X (Twitter) API / update_chat_settings

Update Chat Settings

An MCP tool from the X (Twitter) API server, hosted on mcp.hjlabs.in.

Update Chat Settings Updates the authenticated user's Chat privacy settings: who can message them, read receipts, the message quality filter, and audio/video call permissions. allow_dms_from, dm_receipt_settings, and… [PUT /2/chat/settings]

Name on the gateway: x_api__update_chat_settings · may change things.

Parameters

NameTypeDescription
allow_dms_from requiredall | verified | followingWho can send the user messages: all (anyone), verified (verified accounts…
always_allow_dms_from_subscribersbooleanWhether the user's subscribers can always message them regardless of…
av_settingsobjectAudio and video call settings.
dm_quality_filterenabled | disabledLow-quality message request filter: enabled (low-quality requests go to a…
dm_receipt_settingsall_enabled | all_disabledRead receipts: all_enabled (send and receive read receipts) or all_disabled…

How to call it

Through the Smart Gateway, any client can run it by name with call_tool, or let the gateway find it with search_tools:

call_tool arguments
{
  "name": "x_api__update_chat_settings",
  "arguments": {
    "allow_dms_from": "…"
  }
}

Or connect the X (Twitter) API server directly, which lists 258 tools including this one:

Run in your terminal
claude mcp add --transport http hj-x-api https://mcp.hjlabs.in/mcp/x-api \
  --header "Authorization: Bearer YOUR_API_KEY"

Try asking

Use the update chat settings tool with allow_dms_from set to ….

More from X (Twitter) API