DM settings
Who can message you, read receipts, the message quality filter and audio/video call settings. No passcode needed.
Reference: https://www.twittrapi.com/docs/account-actions/client-dm-settings
Request
- Base URL: https://api.twittrapi.com
- URL: https://api.twittrapi.com/client/dm/settings
- Auth: API key in header X-API-KEY
Query parameters
raw (default): X's JSON passed through. simple: flat camelCase JSON with a fixed schema and a {data, nextCursor, previousCursor, hasNextPage} envelope. Same price. The header X-Response-Format: simple does the same.
Request body
Response
{allow_dms_from, dm_receipt_settings, dm_quality_filter, av_settings: {has_av_calls_enabled, av_call_permissions: {accept_calls_from_everyone, accept_calls_from_following, accept_calls_from_verified, accept_calls_from_addressbook}}}. Values as X sends them; dm_receipt_settings and dm_quality_filter are left out when X does not send them.
With format=simple: {data: {allowDmsFrom, readReceipts, qualityFilter, calls: {enabled, fromEveryone, fromFollowing, fromVerified, fromAddressBook}}}.
X's own JSON (raw format, the default), passed through unchanged. The shape is X's and can change; see https://www.twittrapi.com/docs/response-format.
Changes
No recorded changes to this operation across all 1 revision of this API.