twexapi-io · Schema

SendDmV3Query

Parameters for sending DM via XChat v3

SocialDataXCreditArtificial Intelligence

Properties

Name Type Description
recipient string User id, @handle, or a group id (g...) for an existing group.
text string Message body.
media_urls object Public URL of one image to attach (max 1). Mutually exclusive with video_url.
video_url object Public http(s) URL of one video to attach (mutually exclusive with image).
pin object Identity PIN (default 1234).
cookie string The user's own authorized Twitter session credentials or auth_token (BYOC — Bring Your Own Cookie). Stateless proxy execution with zero credential retention. See [Authentication Security](/authenticat
proxy object Optional HTTP proxy. Example: http://username:password@ip:port
View JSON Schema on GitHub

JSON Schema

twexapi-io-send-dm-v3-query-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/twexapi-io/json-schema/twexapi-io-send-dm-v3-query-schema.json",
  "title": "SendDmV3Query",
  "description": "Parameters for sending DM via XChat v3",
  "x-generated": "2026-10-31",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/twexapi-io-openapi.json#/components/schemas/SendDmV3Query",
  "properties": {
    "recipient": {
      "type": "string",
      "title": "Recipient",
      "description": "User id, @handle, or a group id (g...) for an existing group."
    },
    "text": {
      "type": "string",
      "title": "Text",
      "description": "Message body."
    },
    "media_urls": {
      "anyOf": [
        {
          "items": {
            "type": "string"
          },
          "type": "array",
          "maxItems": 1
        },
        {
          "type": "null"
        }
      ],
      "title": "Media Urls",
      "description": "Public URL of one image to attach (max 1). Mutually exclusive with video_url."
    },
    "video_url": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Video Url",
      "description": "Public http(s) URL of one video to attach (mutually exclusive with image)."
    },
    "pin": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Pin",
      "description": "Identity PIN (default 1234).",
      "default": "1234"
    },
    "cookie": {
      "type": "string",
      "title": "Cookie",
      "description": "The user's own authorized Twitter session credentials or auth_token (BYOC — Bring Your Own Cookie). Stateless proxy execution with zero credential retention. See [Authentication Security](/authentication#write-operations--byoc-bring-your-own-cookie) and [How to get Cookie](https://youtube-promotion.pages.dev/how-to-get-twitter-cookie)."
    },
    "proxy": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Proxy",
      "description": "Optional HTTP proxy. Example: http://username:password@ip:port"
    }
  },
  "type": "object",
  "required": [
    "recipient",
    "text",
    "cookie"
  ]
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/twexapi-io-send-dm-v3-query"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.