Creates a new Post for the authenticated user, or edits an existing Post when edit_options are provided. Media in media.media_ids is attached in the order given; get the ids by uploading each image with Upload Media, or a video with Initialize Media Upload. Supports paid partnership disclosure via the paid_partnership field. To share a clip of another Post’s video, set clip to that Post’s id and a range of 5 to 60 seconds.
POST
/
2
/
tweets
xurl
xurl -X POST /2/tweets \ -d '{"text":"Hello from XDK!"}'
import os
from xdk import Client
from xdk.posts.models import CreateRequest
client = Client(access_token=os.environ["X_ACCESS_TOKEN"])
response = client.posts.create(body=CreateRequest(text="Hello from XDK!"))
print(response)
import { Client } from "@xdevplatform/xdk";
const client = new Client({ accessToken: process.env.X_ACCESS_TOKEN });
const response = await client.posts.create({ text: "Hello from XDK!" });
console.log(response);
import com.x.xdk.Schemas;
import com.x.xdk.XClient;
XClient client = XClient.builder()
.accessToken(System.getenv("X_ACCESS_TOKEN"))
.build();
var response = client.posts().create(new Schemas.CreatePostsRequest().text("Hello from XDK!"));
System.out.println(response);
using System;
using Xdk;
using Xdk.Models;
using var client = new XClient(new XClientOptions
{
AccessToken = Environment.GetEnvironmentVariable("X_ACCESS_TOKEN"),
});
var response = await client.Posts.CreateAsync(new CreatePostsRequest { Text = "Hello from XDK!" });
Console.WriteLine(response);
The access token received from the authorization server in the OAuth 2.0 flow.
Scopes
tweet.read
View all posts you can see, including those from protected accounts.
tweet.write
Create and repost on your behalf.
users.read
View any account you can see, including protected accounts.
Body
application/json
card_uri
string
Card URI parameter.
clip
object
Clip of another Post's video to share. Cannot be combined with media, a poll, a card, a quoted Post or a direct message deep link.
Show child attributes
community_id
string
Community to post the tweet to.
Pattern: ^[0-9]{1,19}$
direct_message_deep_link
string
Direct message deep link.
edit_options
object
Edit an existing tweet rather than creating a new one.
Show child attributes
for_super_followers_only
boolean
Restrict tweet to super followers.
geo
object
Geo location for the tweet.
Show child attributes
made_with_ai
boolean
Disclose that the tweet contains AI-generated media.
media
object
Media attachments.
Show child attributes
nullcast
boolean
If true, the tweet is not shown in the public timeline.
paid_partnership
boolean
Disclose that the tweet is a paid partnership.
poll
object
Poll configuration.
Show child attributes
quote_tweet_id
string
Tweet ID to quote.
Pattern: ^[0-9]{1,19}$
reply
object
Tweet reply configuration.
Show child attributes
reply_settings
enum<string>
Who can reply to this tweet.
Available options:
following,
mentionedUsers,
subscribers,
verified
share_with_followers
boolean
Share an exclusive (super-follower) tweet with all followers.
text
string
default:""
Text of the Post. Required unless media is provided. At most 280 characters unless the account has X Premium.
Response
The request has succeeded.
data
object
Show child attributes
errors
object[]
Option 1
Option 2
Option 3
Option 4
Option 5
Option 6
Option 7
Option 8
Option 9
Option 10
Option 11
Option 12
Option 13
Option 14
Option 15
Option 16
Option 17
Option 18
Option 19
Option 20
Option 21
Option 22
Option 23
Option 24
Option 25
Option 26
Option 27
Option 28
Option 29
Option 30
Option 31
Option 32
Option 33
Option 34
Option 35
Option 36
Option 37
Option 38
Option 39
Option 40
Option 41
Option 42
Option 43
Option 44
Option 45
Option 46
Option 47
Option 48
Option 49
Option 50
Option 51
Option 52
Option 53
Option 54
Option 55
Option 56
Option 57
Option 58
Option 59
Option 60
Option 61
Show child attributes
⌘I
xurl
xurl -X POST /2/tweets \ -d '{"text":"Hello from XDK!"}'
import os
from xdk import Client
from xdk.posts.models import CreateRequest
client = Client(access_token=os.environ["X_ACCESS_TOKEN"])
response = client.posts.create(body=CreateRequest(text="Hello from XDK!"))
print(response)
import { Client } from "@xdevplatform/xdk";
const client = new Client({ accessToken: process.env.X_ACCESS_TOKEN });
const response = await client.posts.create({ text: "Hello from XDK!" });
console.log(response);
import com.x.xdk.Schemas;
import com.x.xdk.XClient;
XClient client = XClient.builder()
.accessToken(System.getenv("X_ACCESS_TOKEN"))
.build();
var response = client.posts().create(new Schemas.CreatePostsRequest().text("Hello from XDK!"));
System.out.println(response);
using System;
using Xdk;
using Xdk.Models;
using var client = new XClient(new XClientOptions
{
AccessToken = Environment.GetEnvironmentVariable("X_ACCESS_TOKEN"),
});
var response = await client.Posts.CreateAsync(new CreatePostsRequest { Text = "Hello from XDK!" });
Console.WriteLine(response);
{"docsConfig":{"theme":"luma","$schema":"https://mintlify.com/docs.json","name":"X","colors":{"primary":"#0D0D0D","light":"#B2B2B2","dark":"#0D0D0D"},"logo":{"light":"https://mintcdn.com/x-preview/CX6FNhUUR8mtNZ97/logo/light.svg?fit=max\u0026auto=format\u0026n=CX6FNhUUR8mtNZ97\u0026q=85\u0026s=b2e6f2ff399e1bc5cd0c588f9644983d","dark":"https://mintcdn.com/x-preview/CX6FNhUUR8mtNZ97/logo/dark.svg?fit=max\u0026auto=format\u0026n=CX6FNhUUR8mtNZ97\u0026q=85\u0026s=d7b8656c2bcee6e9d5c947f6419e8b82"},"favicon":"https://mintcdn.com/x-preview/s_D1jGy1nLdDmXkd/favicon.png?fit=max\u0026auto=format\u0026n=s_D1jGy1nLdDmXkd\u0026q=85\u0026s=80ae09fccb5fee6b52fc4f31c15ac2f7","api":{"openapi":{"source":"openapi.json","overlays":["overlays/xdk-code-samples.json"]},"examples":{"defaults":"required","languages":["curl","python","typescript","java","csharp","bash"]}},"appearance":{"default":"dark","strict":true},"background":{"color":{"light":"#FFFFFF","dark":"#000000"}},"navbar":{"links":[{"href":"/support","label":"Support"}],"primary":{"type":"button","label":"Developer Console","href":"https://developer.x.com/en/portal/petition/essential/basic-info"}},"footer":{"socials":{"x":"https://x.com/xdevelopers","github":"https://github.com/xdevplatform"},"links":[{"header":"Resources","items":[{"label":"Status","href":"https://developer.x.com/status"},{"label":"Incidents","href":"/incidents"}]},{"header":"Legal","items":[{"label":"Terms of Service","href":"https://x.com/en/tos"},{"label":"Privacy Policy","href":"https://x.com/en/privacy"},{"label":"Cookies","href":"https://help.x.com/en/rules-and-policies/x-cookies"},{"label":"Developer Terms","href":"https://docs.x.com/developer-terms"}]}]},"seo":{"metatags":{"canonical":"https://docs.x.com","og:site_name":"X Developer Platform","og:type":"website","og:locale":"en_US","twitter:card":"summary_large_image","twitter:site":"@xdevelopers","description":"Build, analyze, and innovate with X's real-time global data and APIs. Access comprehensive API documentation, SDKs, tutorials, and developer tools.","author":"X Developer Platform","language":"en","robots":"index, follow","googlebot":"index, follow","og:image":"https://docs.x.com/images/og-default.png","og:image:width":"1200","og:image:height":"630","twitter:image":"https://docs.x.com/images/og-default.png"},"indexing":"all"},"fonts":{"family":"Chirp","weight":400,"source":"fonts/chirp-regular-web.woff2","format":"woff2"},"contextual":{"options":["copy","view",{"title":"Open in Grok","description":"Ask questions about this page","icon":"/logo/grok.svg","href":{"base":"https://grok.com","query":[{"key":"q","value":"Read from https://docs.x.com$path so I can ask questions about it."}]}}],"display":"header"},"styling":{"latex":true},"navigation":{"global":{"anchors":[{"anchor":"Developer Console","icon":"https://mintlify.s3.us-west-1.amazonaws.com/x-preview/icons/xds/icon-console.svg","href":"https://developer.x.com/en/portal/petition/essential/basic-info"},{"anchor":"Forums","icon":"https://mintlify.s3.us-west-1.amazonaws.com/x-preview/icons/xds/icon-chat.svg","href":"https://devcommunity.x.com"},{"anchor":"GitHub","icon":"github","href":"https://github.com/xdevplatform"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"x-preview","hasAudioNarration":false,"actualSubdomain":"x-preview","customDomains":["docs.x.com"],"gitSource":{"type":"github","owner":"xdevplatform","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"REMOVE_BRANDING":{"status":"ENABLED"},"CONTEXTUAL_FEEDBACK":{"status":"ENABLED"},"CODE_SNIPPET_FEEDBACK":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6b0e2cda977bec102a07a3b9","clientVersion":"0.0.4377","searchFilterCounts":[{"language":"default","tag":"X API","count":484},{"language":"default","tag":"API Reference","count":326},{"language":"default","tag":"General","count":258},{"language":"default","tag":"Documentation","count":172},{"language":"default","tag":"XDKs","count":125},{"language":"default","tag":"Guides","count":105},{"language":"default","tag":"Client Reference","count":100},{"language":"default","tag":"Posts","count":73},{"language":"default","tag":"Chat API","count":61},{"language":"default","tag":"Fundamentals","count":53}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","href":"/_mintlify/custom/x-preview/02879997143147b8/style.css"}]}
{"page":{"pagePath":"x-api/posts/create-posts","slug":"/x-api/posts/create-posts","pageMetadata":{"openapi":"post /2/tweets","title":"Create or Edit Post","description":"Creates a new Post for the authenticated user, or edits an existing Post when edit_options are provided. Media in media.media_ids is attached in the order given; get the ids by uploading each image with Upload Media, or a video with Initialize Media Upload. Supports paid partnership disclosure via the paid_partnership field. To share a clip of another Post's video, set clip to that Post's id and a range of 5 to 60 seconds.","href":"/x-api/posts/create-posts"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Creates a new Post for the authenticated user, or edits an existing Post when edit_options are provided. Media in media.media_ids is attached in the order given; get the ids by uploading each image with Upload Media, or a video with Initialize Media Upload. Supports paid partnership disclosure via the paid_partnership field. To share a clip of another Post’s video, set clip to that Post’s id and a range of 5 to 60 seconds.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"openapi":"post /2/tweets","title":"Create or Edit Post","description":"Creates a new Post for the authenticated user, or edits an existing Post when edit_options are provided. Media in media.media_ids is attached in the order given; get the ids by uploading each image with Upload Media, or a video with Initialize Media Upload. Supports paid partnership disclosure via the paid_partnership field. To share a clip of another Post's video, set clip to that Post's id and a range of 5 to 60 seconds.","href":"/x-api/posts/create-posts"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":["/_mintlify/custom/x-preview/381ffe7e9b15b180/widgets.js","/_mintlify/custom/x-preview/6a1f299520abeae4/sliders.js","/_mintlify/custom/x-preview/c7d32b76ae276d29/xds-motion.js","/_mintlify/custom/x-preview/4e9cd7891e98068a/tmp/gen_prompts.js"],"openApiReferenceData":{"operation":{"security":["3c91e28c-c8c4-4667-ba75-5fe7e67b45ba","3713afcf-d3de-41d7-b797-32bba3613126"],"tags":["Posts"],"summary":"Create or Edit Post","description":"Creates a new Post for the authenticated user, or edits an existing Post when edit_options are provided. Media in media.media_ids is attached in the order given; get the ids by uploading each image with Upload Media, or a video with Initialize Media Upload. Supports paid partnership disclosure via the paid_partnership field. To share a clip of another Post's video, set clip to that Post's id and a range of 5 to 60 seconds.","operationId":"createPosts","requestBody":"d892cb24-4c50-4d58-b496-8f08d399e4ed","responses":{"201":"ad3e4b20-d165-4401-996e-c654b3790d38","default":"6691f169-e07a-4e5b-bcd8-4357c37877b5"},"x-codeSamples":[{"lang":"python","label":"Python (XDK)","source":"import os\nfrom xdk import Client\nfrom xdk.posts.models import CreateRequest\n\nclient = Client(access_token=os.environ[\"X_ACCESS_TOKEN\"])\n\nresponse = client.posts.create(body=CreateRequest(text=\"Hello from XDK!\"))\nprint(response)"},{"lang":"typescript","label":"TypeScript (XDK)","source":"import { Client } from \"@xdevplatform/xdk\";\n\nconst client = new Client({ accessToken: process.env.X_ACCESS_TOKEN });\n\nconst response = await client.posts.create({ text: \"Hello from XDK!\" });\nconsole.log(response);"},{"lang":"java","label":"Java (XDK)","source":"import com.x.xdk.Schemas;\nimport com.x.xdk.XClient;\n\nXClient client = XClient.builder()\n .accessToken(System.getenv(\"X_ACCESS_TOKEN\"))\n .build();\n\nvar response = client.posts().create(new Schemas.CreatePostsRequest().text(\"Hello from XDK!\"));\nSystem.out.println(response);"},{"lang":"csharp","label":"C# (XDK)","source":"using System;\nusing Xdk;\nusing Xdk.Models;\n\nusing var client = new XClient(new XClientOptions\n{\n AccessToken = Environment.GetEnvironmentVariable(\"X_ACCESS_TOKEN\"),\n});\n\nvar response = await client.Posts.CreateAsync(new CreatePostsRequest { Text = \"Hello from XDK!\" });\nConsole.WriteLine(response);"},{"lang":"bash","label":"xurl","source":"xurl -X POST /2/tweets \\\n -d '{\"text\":\"Hello from XDK!\"}'"}],"method":"post","type":"path","servers":["c4d7cbb3-a51b-43a1-bbb6-71792a3f3564"],"path":"/2/tweets","baseUrlOptions":["https://api.x.com"],"title":"Create or Edit Post","codeSamples":[{"label":"Python (XDK)","lang":"python","source":"import os\nfrom xdk import Client\nfrom xdk.posts.models import CreateRequest\n\nclient = Client(access_token=os.environ[\"X_ACCESS_TOKEN\"])\n\nresponse = client.posts.create(body=CreateRequest(text=\"Hello from XDK!\"))\nprint(response)"},{"label":"TypeScript (XDK)","lang":"typescript","source":"import { Client } from \"@xdevplatform/xdk\";\n\nconst client = new Client({ accessToken: process.env.X_ACCESS_TOKEN });\n\nconst response = await client.posts.create({ text: \"Hello from XDK!\" });\nconsole.log(response);"},{"label":"Java (XDK)","lang":"java","source":"import com.x.xdk.Schemas;\nimport com.x.xdk.XClient;\n\nXClient client = XClient.builder()\n .accessToken(System.getenv(\"X_ACCESS_TOKEN\"))\n .build();\n\nvar response = client.posts().create(new Schemas.CreatePostsRequest().text(\"Hello from XDK!\"));\nSystem.out.println(response);"},{"label":"C# (XDK)","lang":"csharp","source":"using System;\nusing Xdk;\nusing Xdk.Models;\n\nusing var client = new XClient(new XClientOptions\n{\n AccessToken = Environment.GetEnvironmentVariable(\"X_ACCESS_TOKEN\"),\n});\n\nvar response = await client.Posts.CreateAsync(new CreatePostsRequest { Text = \"Hello from XDK!\" });\nConsole.WriteLine(response);"},{"label":"xurl","lang":"bash","source":"xurl -X POST /2/tweets \\\n -d '{\"text\":\"Hello from XDK!\"}'"}],"requestExampleLanguages":["bash","python","typescript","java","csharp","bash"],"requiredOnlyExamples":true,"requestExampleType":"codeSamples","responseExampleType":"generated"},"dependencies":{"parameters":{},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"card_uri":{"type":"string","description":"Card URI parameter.","uniqueKey":"card_uri","typeLabel":"string"},"clip":{"type":"object","required":["post_id","start_seconds","end_seconds"],"properties":{"end_seconds":{"type":"integer","description":"Second of the video at which the clip ends. A clip is 5 to 60 seconds long and at most 30% of the video.","minimum":1,"isRequired":true,"uniqueKey":"clip.end_seconds","typeLabel":"integer"},"post_id":{"type":"string","description":"The ID of the Post whose video is clipped. The Post must have exactly one video, longer than 2 minutes.","pattern":"^[0-9]{1,19}$","isRequired":true,"uniqueKey":"clip.post_id","typeLabel":"string"},"start_seconds":{"type":"integer","description":"Second of the video at which the clip starts.","minimum":0,"isRequired":true,"uniqueKey":"clip.start_seconds","typeLabel":"integer"}},"additionalProperties":false,"description":"Clip of another Post's video to share. Cannot be combined with media, a poll, a card, a quoted Post or a direct message deep link.","uniqueKey":"clip","typeLabel":"object"},"community_id":{"type":"string","description":"Community to post the tweet to.","pattern":"^[0-9]{1,19}$","uniqueKey":"community_id","typeLabel":"string"},"direct_message_deep_link":{"type":"string","description":"Direct message deep link.","uniqueKey":"direct_message_deep_link","typeLabel":"string"},"edit_options":{"type":"object","required":["previous_post_id"],"properties":{"previous_post_id":{"type":"string","description":"The ID of the Post being edited.","pattern":"^[0-9]{1,19}$","isRequired":true,"uniqueKey":"edit_options.previous_post_id","typeLabel":"string"}},"additionalProperties":false,"description":"Edit an existing tweet rather than creating a new one.","uniqueKey":"edit_options","typeLabel":"object"},"for_super_followers_only":{"type":"boolean","description":"Restrict tweet to super followers.","uniqueKey":"for_super_followers_only","typeLabel":"boolean"},"geo":{"type":"object","required":["place_id"],"properties":{"place_id":{"type":"string","description":"Place ID for geo tagging.","isRequired":true,"uniqueKey":"geo.place_id","typeLabel":"string"}},"additionalProperties":false,"description":"Geo location for the tweet.","uniqueKey":"geo","typeLabel":"object"},"made_with_ai":{"type":"boolean","description":"Disclose that the tweet contains AI-generated media.","uniqueKey":"made_with_ai","typeLabel":"boolean"},"media":{"type":"object","required":["media_ids"],"properties":{"media_ids":{"type":"array","description":"Media IDs to attach to the Post, in the order given.","minItems":1,"maxItems":20,"items":{"type":"string","pattern":"^[0-9]{1,19}$","uniqueKey":"media.media_ids.items.[INDEX]","typeLabel":"string"},"isRequired":true,"uniqueKey":"media.media_ids","typeLabel":"string[]"},"call_to_actions":{"type":"object","properties":{"app_install":{"type":"object","properties":{"app_store_id":{"type":"string","description":"Apple App Store iPhone app id.","uniqueKey":"media.call_to_actions.app_install.app_store_id","typeLabel":"string"},"ipad_app_store_id":{"type":"string","description":"Apple App Store iPad app id.","uniqueKey":"media.call_to_actions.app_install.ipad_app_store_id","typeLabel":"string"},"play_store_id":{"type":"string","description":"Google Play Store app id.","uniqueKey":"media.call_to_actions.app_install.play_store_id","typeLabel":"string"}},"additionalProperties":false,"description":"App Install CTA. At least one store id should be provided.","uniqueKey":"media.call_to_actions.app_install","typeLabel":"object"},"visit_site":{"type":"object","required":["url"],"properties":{"url":{"type":"string","description":"HTTPS URL the CTA links to.","isRequired":true,"uniqueKey":"media.call_to_actions.visit_site.url","typeLabel":"string"}},"additionalProperties":false,"description":"Visit Site CTA.","uniqueKey":"media.call_to_actions.visit_site","typeLabel":"object"},"watch_now":{"type":"object","required":["url"],"properties":{"url":{"type":"string","description":"HTTPS URL the CTA links to.","isRequired":true,"uniqueKey":"media.call_to_actions.watch_now.url","typeLabel":"string"}},"additionalProperties":false,"description":"Watch Now CTA.","uniqueKey":"media.call_to_actions.watch_now","typeLabel":"object"}},"additionalProperties":false,"description":"Call-to-action button rendered on the media entity.","uniqueKey":"media.call_to_actions","typeLabel":"object"},"description":{"type":"string","description":"Description for the media, rendered on the Post card for video and Amplify content.","uniqueKey":"media.description","typeLabel":"string"},"embeddable":{"type":"boolean","description":"When true, the media's asset URLs do not expire and external syndicated playback is allowed.","uniqueKey":"media.embeddable","typeLabel":"boolean"},"preview_media_id":{"type":"string","description":"Media id whose asset is used as the preview image.","pattern":"^[0-9]{1,19}$","uniqueKey":"media.preview_media_id","typeLabel":"string"},"tagged_user_ids":{"type":"array","description":"User IDs tagged in the media.","maxItems":10,"items":{"type":"string","pattern":"^[0-9]{1,19}$","uniqueKey":"media.tagged_user_ids.items.[INDEX]","typeLabel":"string"},"uniqueKey":"media.tagged_user_ids","typeLabel":"string[]"},"title":{"type":"string","description":"Title for the media, rendered on the Post card for video and Amplify content.","uniqueKey":"media.title","typeLabel":"string"}},"additionalProperties":false,"description":"Media attachments.","uniqueKey":"media","typeLabel":"object"},"nullcast":{"type":"boolean","description":"If true, the tweet is not shown in the public timeline.","uniqueKey":"nullcast","typeLabel":"boolean"},"paid_partnership":{"type":"boolean","description":"Disclose that the tweet is a paid partnership.","uniqueKey":"paid_partnership","typeLabel":"boolean"},"poll":{"type":"object","required":["options","duration_minutes"],"properties":{"duration_minutes":{"type":"integer","description":"Duration of the poll in minutes.","minimum":5,"maximum":10080,"isRequired":true,"uniqueKey":"poll.duration_minutes","typeLabel":"integer"},"options":{"type":"array","description":"Poll options (2-4 choices, 1-25 characters each).","minItems":2,"maxItems":4,"items":{"type":"string","minLength":1,"maxLength":25,"uniqueKey":"poll.options.items.[INDEX]","typeLabel":"string"},"isRequired":true,"uniqueKey":"poll.options","typeLabel":"string[]"},"reply_settings":{"type":"string","description":"Who can reply to the poll Tweet. Accepted for compatibility; it carries no backend argument and is dropped before the mutation is issued (see `translate_body`).","enum":["following","mentionedUsers","subscribers","verified"],"uniqueKey":"poll.reply_settings","typeLabel":"enum\u003cstring>"}},"additionalProperties":false,"description":"Poll configuration.","uniqueKey":"poll","typeLabel":"object"},"quote_tweet_id":{"type":"string","description":"Tweet ID to quote.","pattern":"^[0-9]{1,19}$","uniqueKey":"quote_tweet_id","typeLabel":"string"},"reply":{"type":"object","required":["in_reply_to_tweet_id"],"properties":{"in_reply_to_tweet_id":{"type":"string","description":"The ID of the tweet being replied to.","pattern":"^[0-9]{1,19}$","isRequired":true,"uniqueKey":"reply.in_reply_to_tweet_id","typeLabel":"string"},"auto_populate_reply_metadata":{"type":"boolean","description":"If true, reply metadata is automatically populated. Accepted for compatibility; it carries no backend argument and is dropped before the mutation is issued (see `translate_body`).","uniqueKey":"reply.auto_populate_reply_metadata","typeLabel":"boolean"},"exclude_reply_user_ids":{"type":"array","description":"User IDs to exclude from the reply thread.","items":{"type":"string","uniqueKey":"reply.exclude_reply_user_ids.items.[INDEX]","typeLabel":"string"},"uniqueKey":"reply.exclude_reply_user_ids","typeLabel":"string[]"}},"additionalProperties":false,"description":"Tweet reply configuration.","uniqueKey":"reply","typeLabel":"object"},"reply_settings":{"type":"string","description":"Who can reply to this tweet.","enum":["following","mentionedUsers","subscribers","verified"],"uniqueKey":"reply_settings","typeLabel":"enum\u003cstring>"},"share_with_followers":{"type":"boolean","description":"Share an exclusive (super-follower) tweet with all followers.","uniqueKey":"share_with_followers","typeLabel":"boolean"},"text":{"type":"string","description":"Text of the Post. Required unless media is provided. At most 280 characters unless the account has X Premium.","default":"","uniqueKey":"text","typeLabel":"string"}},"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"card_uri":"\u003cstring>","community_id":"\u003cstring>","direct_message_deep_link":"\u003cstring>","for_super_followers_only":true,"made_with_ai":true,"nullcast":true,"paid_partnership":true,"quote_tweet_id":"\u003cstring>","share_with_followers":true,"text":""}}},"exampleType":"generated"}},"required":true,"exampleType":"generated"},"responses":{"ad3e4b20-d165-4401-996e-c654b3790d38":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","required":["id","text"],"properties":{"id":{"type":"string","description":"Unique identifier of the created Post.","pattern":"^[0-9]{1,19}$","isRequired":true,"uniqueKey":"data.id","typeLabel":"string"},"text":{"type":"string","description":"The content of the created Post.","isRequired":true,"uniqueKey":"data.text","typeLabel":"string"},"edit_history_post_ids":{"type":"array","description":"Post IDs in this Post's edit history chain.","items":{"type":"string","uniqueKey":"data.edit_history_post_ids.items.[INDEX]","typeLabel":"string"},"uniqueKey":"data.edit_history_post_ids","typeLabel":"string[]"}},"uniqueKey":"data","typeLabel":"object"},"errors":{"type":"array","items":{"oneOf":[{"type":"object","required":["type","title","detail","resource_type"],"properties":{"detail":{"type":"string","isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.0.detail","typeLabel":"string"},"resource_type":{"type":"string","isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.0.resource_type","typeLabel":"string"},"title":{"type":"string","isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.0.title","typeLabel":"string"},"type":{"type":"string","enum":["https://api.x.com/2/problems/resource-not-found"],"isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"parameter":{"type":"string","uniqueKey":"errors.items.[INDEX].oneOf.0.parameter","typeLabel":"string"},"resource_id":{"type":"string","uniqueKey":"errors.items.[INDEX].oneOf.0.resource_id","typeLabel":"string"},"status":{"type":"integer","uniqueKey":"errors.items.[INDEX].oneOf.0.status","typeLabel":"integer"},"value":{"type":"string","uniqueKey":"errors.items.[INDEX].oneOf.0.value","typeLabel":"string"}},"uniqueKey":"errors.items.[INDEX].oneOf.0","typeLabel":"object"},{"type":"object","required":["type","title","detail"],"properties":{"detail":{"type":"string","isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.1.detail","typeLabel":"string"},"title":{"type":"string","isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.1.title","typeLabel":"string"},"type":{"type":"string","enum":["https://api.x.com/2/problems/invalid-request"],"isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"parameter":{"type":"string","uniqueKey":"errors.items.[INDEX].oneOf.1.parameter","typeLabel":"string"},"status":{"type":"integer","uniqueKey":"errors.items.[INDEX].oneOf.1.status","typeLabel":"integer"},"value":{"type":"string","uniqueKey":"errors.items.[INDEX].oneOf.1.value","typeLabel":"string"}},"uniqueKey":"errors.items.[INDEX].oneOf.1","typeLabel":"object"},{"type":"object","required":["type","title","detail","resource_type"],"properties":{"detail":{"type":"string","isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.2.detail","typeLabel":"string"},"resource_type":{"type":"string","isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.2.resource_type","typeLabel":"string"},"title":{"type":"string","isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.2.title","typeLabel":"string"},"type":{"type":"string","enum":["https://api.x.com/2/problems/not-authorized-for-resource"],"isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.2.type","typeLabel":"enum\u003cstring>"},"parameter":{"type":"string","uniqueKey":"errors.items.[INDEX].oneOf.2.parameter","typeLabel":"string"},"resource_id":{"type":"string","uniqueKey":"errors.items.[INDEX].oneOf.2.resource_id","typeLabel":"string"},"section":{"type":"string","uniqueKey":"errors.items.[INDEX].oneOf.2.section","typeLabel":"string"},"status":{"type":"integer","uniqueKey":"errors.items.[INDEX].oneOf.2.status","typeLabel":"integer"},"value":{"type":"string","uniqueKey":"errors.items.[INDEX].oneOf.2.value","typeLabel":"string"}},"uniqueKey":"errors.items.[INDEX].oneOf.2","typeLabel":"object"},{"type":"object","required":["type","title","detail","field"],"properties":{"detail":{"type":"string","isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.3.detail","typeLabel":"string"},"field":{"type":"string","isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.3.field","typeLabel":"string"},"title":{"type":"string","isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.3.title","typeLabel":"string"},"type":{"type":"string","enum":["https://api.x.com/2/problems/not-authorized-for-field"],"isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.3.type","typeLabel":"enum\u003cstring>"},"parameter":{"type":"string","uniqueKey":"errors.items.[INDEX].oneOf.3.parameter","typeLabel":"string"},"resource_id":{"type":"string","uniqueKey":"errors.items.[INDEX].oneOf.3.resource_id","typeLabel":"string"},"resource_type":{"type":"string","uniqueKey":"errors.items.[INDEX].oneOf.3.resource_type","typeLabel":"string"},"section":{"type":"string","uniqueKey":"errors.items.[INDEX].oneOf.3.section","typeLabel":"string"},"status":{"type":"integer","uniqueKey":"errors.items.[INDEX].oneOf.3.status","typeLabel":"integer"},"value":{"type":"string","uniqueKey":"errors.items.[INDEX].oneOf.3.value","typeLabel":"string"}},"uniqueKey":"errors.items.[INDEX].oneOf.3","typeLabel":"object"},{"type":"object","required":["type","title","detail","field"],"properties":{"detail":{"type":"string","isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.4.detail","typeLabel":"string"},"field":{"type":"string","isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.4.field","typeLabel":"string"},"title":{"type":"string","isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.4.title","typeLabel":"string"},"type":{"type":"string","enum":["https://api.x.com/2/problems/field-unauthorized"],"isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.4.type","typeLabel":"enum\u003cstring>"},"resource_type":{"type":"string","uniqueKey":"errors.items.[INDEX].oneOf.4.resource_type","typeLabel":"string"},"section":{"type":"string","uniqueKey":"errors.items.[INDEX].oneOf.4.section","typeLabel":"string"},"status":{"type":"integer","uniqueKey":"errors.items.[INDEX].oneOf.4.status","typeLabel":"integer"}},"uniqueKey":"errors.items.[INDEX].oneOf.4","typeLabel":"object"},{"type":"object","required":["type","title","detail","field"],"properties":{"detail":{"type":"string","isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.5.detail","typeLabel":"string"},"field":{"type":"string","isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.5.field","typeLabel":"string"},"title":{"type":"string","isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.5.title","typeLabel":"string"},"type":{"type":"string","enum":["https://api.x.com/2/problems/field-hydration-failure"],"isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.5.type","typeLabel":"enum\u003cstring>"},"resource_type":{"type":"string","uniqueKey":"errors.items.[INDEX].oneOf.5.resource_type","typeLabel":"string"},"section":{"type":"string","uniqueKey":"errors.items.[INDEX].oneOf.5.section","typeLabel":"string"},"status":{"type":"integer","uniqueKey":"errors.items.[INDEX].oneOf.5.status","typeLabel":"integer"}},"uniqueKey":"errors.items.[INDEX].oneOf.5","typeLabel":"object"},{"type":"object","required":["type","title","detail","resource_type"],"properties":{"detail":{"type":"string","isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.6.detail","typeLabel":"string"},"resource_type":{"type":"string","isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.6.resource_type","typeLabel":"string"},"title":{"type":"string","isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.6.title","typeLabel":"string"},"type":{"type":"string","enum":["https://api.x.com/2/problems/resource-unavailable"],"isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.6.type","typeLabel":"enum\u003cstring>"},"resource_id":{"type":"string","uniqueKey":"errors.items.[INDEX].oneOf.6.resource_id","typeLabel":"string"},"status":{"type":"integer","uniqueKey":"errors.items.[INDEX].oneOf.6.status","typeLabel":"integer"}},"uniqueKey":"errors.items.[INDEX].oneOf.6","typeLabel":"object"},{"type":"object","required":["type","title","detail"],"properties":{"detail":{"type":"string","isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.7.detail","typeLabel":"string"},"title":{"type":"string","isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.7.title","typeLabel":"string"},"type":{"type":"string","enum":["https://api.x.com/2/problems/disallowed-resource"],"isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.7.type","typeLabel":"enum\u003cstring>"},"resource_id":{"type":"string","uniqueKey":"errors.items.[INDEX].oneOf.7.resource_id","typeLabel":"string"},"resource_type":{"type":"string","uniqueKey":"errors.items.[INDEX].oneOf.7.resource_type","typeLabel":"string"},"section":{"type":"string","uniqueKey":"errors.items.[INDEX].oneOf.7.section","typeLabel":"string"},"status":{"type":"integer","uniqueKey":"errors.items.[INDEX].oneOf.7.status","typeLabel":"integer"}},"uniqueKey":"errors.items.[INDEX].oneOf.7","typeLabel":"object"},{"type":"object","required":["type","title","detail"],"properties":{"detail":{"type":"string","isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.8.detail","typeLabel":"string"},"title":{"type":"string","isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.8.title","typeLabel":"string"},"type":{"type":"string","enum":["https://api.x.com/2/problems/recipient-not-messageable"],"isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.8.type","typeLabel":"enum\u003cstring>"},"status":{"type":"integer","uniqueKey":"errors.items.[INDEX].oneOf.8.status","typeLabel":"integer"}},"uniqueKey":"errors.items.[INDEX].oneOf.8","typeLabel":"object"},{"type":"object","required":["type","title","detail"],"properties":{"detail":{"type":"string","isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.9.detail","typeLabel":"string"},"title":{"type":"string","isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.9.title","typeLabel":"string"},"type":{"type":"string","enum":["https://api.x.com/2/problems/internal-error"],"isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.9.type","typeLabel":"enum\u003cstring>"},"status":{"type":"integer","uniqueKey":"errors.items.[INDEX].oneOf.9.status","typeLabel":"integer"}},"uniqueKey":"errors.items.[INDEX].oneOf.9","typeLabel":"object"},{"type":"object","required":["type","title","detail"],"properties":{"detail":{"type":"string","isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.10.detail","typeLabel":"string"},"title":{"type":"string","isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.10.title","typeLabel":"string"},"type":{"type":"string","enum":["https://api.x.com/2/problems/chat-permissions-unavailable"],"isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.10.type","typeLabel":"enum\u003cstring>"},"status":{"type":"integer","uniqueKey":"errors.items.[INDEX].oneOf.10.status","typeLabel":"integer"}},"uniqueKey":"errors.items.[INDEX].oneOf.10","typeLabel":"object"},{"type":"object","required":["type","title","detail"],"properties":{"detail":{"type":"string","isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.11.detail","typeLabel":"string"},"title":{"type":"string","isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.11.title","typeLabel":"string"},"type":{"type":"string","enum":["https://api.x.com/2/problems/encryption-required"],"isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.11.type","typeLabel":"enum\u003cstring>"},"status":{"type":"integer","uniqueKey":"errors.items.[INDEX].oneOf.11.status","typeLabel":"integer"}},"uniqueKey":"errors.items.[INDEX].oneOf.11","typeLabel":"object"},{"type":"object","required":["type","title","detail"],"properties":{"detail":{"type":"string","isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.12.detail","typeLabel":"string"},"title":{"type":"string","isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.12.title","typeLabel":"string"},"type":{"type":"string","enum":["https://api.x.com/2/problems/message-request-not-supported"],"isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.12.type","typeLabel":"enum\u003cstring>"},"status":{"type":"integer","uniqueKey":"errors.items.[INDEX].oneOf.12.status","typeLabel":"integer"}},"uniqueKey":"errors.items.[INDEX].oneOf.12","typeLabel":"object"},{"type":"object","required":["type","title","detail"],"properties":{"detail":{"type":"string","isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.13.detail","typeLabel":"string"},"title":{"type":"string","isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.13.title","typeLabel":"string"},"type":{"type":"string","enum":["https://api.x.com/2/problems/recipient-xchat-setup-required"],"isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.13.type","typeLabel":"enum\u003cstring>"},"status":{"type":"integer","uniqueKey":"errors.items.[INDEX].oneOf.13.status","typeLabel":"integer"}},"uniqueKey":"errors.items.[INDEX].oneOf.13","typeLabel":"object"},{"type":"object","required":["type","title","detail"],"properties":{"detail":{"type":"string","isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.14.detail","typeLabel":"string"},"title":{"type":"string","isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.14.title","typeLabel":"string"},"type":{"type":"string","enum":["https://api.x.com/2/problems/unencrypted-send-not-allowed"],"isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.14.type","typeLabel":"enum\u003cstring>"},"status":{"type":"integer","uniqueKey":"errors.items.[INDEX].oneOf.14.status","typeLabel":"integer"}},"uniqueKey":"errors.items.[INDEX].oneOf.14","typeLabel":"object"},{"type":"object","required":["type","title","detail"],"properties":{"detail":{"type":"string","isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.15.detail","typeLabel":"string"},"title":{"type":"string","isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.15.title","typeLabel":"string"},"type":{"type":"string","enum":["https://api.x.com/2/problems/xchat-setup-required"],"isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.15.type","typeLabel":"enum\u003cstring>"},"status":{"type":"integer","uniqueKey":"errors.items.[INDEX].oneOf.15.status","typeLabel":"integer"}},"uniqueKey":"errors.items.[INDEX].oneOf.15","typeLabel":"object"},{"type":"object","required":["type","title","detail"],"properties":{"detail":{"type":"string","isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.16.detail","typeLabel":"string"},"title":{"type":"string","isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.16.title","typeLabel":"string"},"type":{"type":"string","enum":["https://api.x.com/2/problems/dm-bad-attachment"],"isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.16.type","typeLabel":"enum\u003cstring>"},"status":{"type":"integer","uniqueKey":"errors.items.[INDEX].oneOf.16.status","typeLabel":"integer"}},"uniqueKey":"errors.items.[INDEX].oneOf.16","typeLabel":"object"},{"type":"object","required":["type","title","detail"],"properties":{"detail":{"type":"string","isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.17.detail","typeLabel":"string"},"title":{"type":"string","isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.17.title","typeLabel":"string"},"type":{"type":"string","enum":["https://api.x.com/2/problems/dm-bad-cta"],"isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.17.type","typeLabel":"enum\u003cstring>"},"status":{"type":"integer","uniqueKey":"errors.items.[INDEX].oneOf.17.status","typeLabel":"integer"}},"uniqueKey":"errors.items.[INDEX].oneOf.17","typeLabel":"object"},{"type":"object","required":["type","title","detail"],"properties":{"detail":{"type":"string","isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.18.detail","typeLabel":"string"},"title":{"type":"string","isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.18.title","typeLabel":"string"},"type":{"type":"string","enum":["https://api.x.com/2/problems/dm-bad-custom-profile"],"isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.18.type","typeLabel":"enum\u003cstring>"},"status":{"type":"integer","uniqueKey":"errors.items.[INDEX].oneOf.18.status","typeLabel":"integer"}},"uniqueKey":"errors.items.[INDEX].oneOf.18","typeLabel":"object"},{"type":"object","required":["type","title","detail"],"properties":{"detail":{"type":"string","isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.19.detail","typeLabel":"string"},"title":{"type":"string","isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.19.title","typeLabel":"string"},"type":{"type":"string","enum":["https://api.x.com/2/problems/dm-bad-media"],"isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.19.type","typeLabel":"enum\u003cstring>"},"status":{"type":"integer","uniqueKey":"errors.items.[INDEX].oneOf.19.status","typeLabel":"integer"}},"uniqueKey":"errors.items.[INDEX].oneOf.19","typeLabel":"object"},{"type":"object","required":["type","title","detail"],"properties":{"detail":{"type":"string","isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.20.detail","typeLabel":"string"},"title":{"type":"string","isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.20.title","typeLabel":"string"},"type":{"type":"string","enum":["https://api.x.com/2/problems/dm-bad-quick-reply"],"isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.20.type","typeLabel":"enum\u003cstring>"},"status":{"type":"integer","uniqueKey":"errors.items.[INDEX].oneOf.20.status","typeLabel":"integer"}},"uniqueKey":"errors.items.[INDEX].oneOf.20","typeLabel":"object"},{"type":"object","required":["type","title","detail"],"properties":{"detail":{"type":"string","isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.21.detail","typeLabel":"string"},"title":{"type":"string","isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.21.title","typeLabel":"string"},"type":{"type":"string","enum":["https://api.x.com/2/problems/dm-bad-url"],"isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.21.type","typeLabel":"enum\u003cstring>"},"status":{"type":"integer","uniqueKey":"errors.items.[INDEX].oneOf.21.status","typeLabel":"integer"}},"uniqueKey":"errors.items.[INDEX].oneOf.21","typeLabel":"object"},{"type":"object","required":["type","title","detail"],"properties":{"detail":{"type":"string","isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.22.detail","typeLabel":"string"},"title":{"type":"string","isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.22.title","typeLabel":"string"},"type":{"type":"string","enum":["https://api.x.com/2/problems/dm-conversation-name-too-long"],"isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.22.type","typeLabel":"enum\u003cstring>"},"status":{"type":"integer","uniqueKey":"errors.items.[INDEX].oneOf.22.status","typeLabel":"integer"}},"uniqueKey":"errors.items.[INDEX].oneOf.22","typeLabel":"object"},{"type":"object","required":["type","title","detail"],"properties":{"detail":{"type":"string","isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.23.detail","typeLabel":"string"},"title":{"type":"string","isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.23.title","typeLabel":"string"},"type":{"type":"string","enum":["https://api.x.com/2/problems/dm-conversation-not-found"],"isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.23.type","typeLabel":"enum\u003cstring>"},"status":{"type":"integer","uniqueKey":"errors.items.[INDEX].oneOf.23.status","typeLabel":"integer"}},"uniqueKey":"errors.items.[INDEX].oneOf.23","typeLabel":"object"},{"type":"object","required":["type","title","detail"],"properties":{"detail":{"type":"string","isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.24.detail","typeLabel":"string"},"title":{"type":"string","isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.24.title","typeLabel":"string"},"type":{"type":"string","enum":["https://api.x.com/2/problems/dm-duplicate"],"isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.24.type","typeLabel":"enum\u003cstring>"},"status":{"type":"integer","uniqueKey":"errors.items.[INDEX].oneOf.24.status","typeLabel":"integer"}},"uniqueKey":"errors.items.[INDEX].oneOf.24","typeLabel":"object"},{"type":"object","required":["type","title","detail"],"properties":{"detail":{"type":"string","isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.25.detail","typeLabel":"string"},"title":{"type":"string","isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.25.title","typeLabel":"string"},"type":{"type":"string","enum":["https://api.x.com/2/problems/dm-inactive-device"],"isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.25.type","typeLabel":"enum\u003cstring>"},"status":{"type":"integer","uniqueKey":"errors.items.[INDEX].oneOf.25.status","typeLabel":"integer"}},"uniqueKey":"errors.items.[INDEX].oneOf.25","typeLabel":"object"},{"type":"object","required":["type","title","detail"],"properties":{"detail":{"type":"string","isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.26.detail","typeLabel":"string"},"title":{"type":"string","isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.26.title","typeLabel":"string"},"type":{"type":"string","enum":["https://api.x.com/2/problems/dm-not-delivered"],"isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.26.type","typeLabel":"enum\u003cstring>"},"status":{"type":"integer","uniqueKey":"errors.items.[INDEX].oneOf.26.status","typeLabel":"integer"}},"uniqueKey":"errors.items.[INDEX].oneOf.26","typeLabel":"object"},{"type":"object","required":["type","title","detail"],"properties":{"detail":{"type":"string","isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.27.detail","typeLabel":"string"},"title":{"type":"string","isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.27.title","typeLabel":"string"},"type":{"type":"string","enum":["https://api.x.com/2/problems/dm-not-found"],"isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.27.type","typeLabel":"enum\u003cstring>"},"status":{"type":"integer","uniqueKey":"errors.items.[INDEX].oneOf.27.status","typeLabel":"integer"}},"uniqueKey":"errors.items.[INDEX].oneOf.27","typeLabel":"object"},{"type":"object","required":["type","title","detail"],"properties":{"detail":{"type":"string","isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.28.detail","typeLabel":"string"},"title":{"type":"string","isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.28.title","typeLabel":"string"},"type":{"type":"string","enum":["https://api.x.com/2/problems/dm-not-owner"],"isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.28.type","typeLabel":"enum\u003cstring>"},"status":{"type":"integer","uniqueKey":"errors.items.[INDEX].oneOf.28.status","typeLabel":"integer"}},"uniqueKey":"errors.items.[INDEX].oneOf.28","typeLabel":"object"},{"type":"object","required":["type","title","detail"],"properties":{"detail":{"type":"string","isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.29.detail","typeLabel":"string"},"title":{"type":"string","isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.29.title","typeLabel":"string"},"type":{"type":"string","enum":["https://api.x.com/2/problems/dm-participant-not-added"],"isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.29.type","typeLabel":"enum\u003cstring>"},"status":{"type":"integer","uniqueKey":"errors.items.[INDEX].oneOf.29.status","typeLabel":"integer"}},"uniqueKey":"errors.items.[INDEX].oneOf.29","typeLabel":"object"},{"type":"object","required":["type","title","detail"],"properties":{"detail":{"type":"string","isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.30.detail","typeLabel":"string"},"title":{"type":"string","isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.30.title","typeLabel":"string"},"type":{"type":"string","enum":["https://api.x.com/2/problems/dm-participant-not-found"],"isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.30.type","typeLabel":"enum\u003cstring>"},"status":{"type":"integer","uniqueKey":"errors.items.[INDEX].oneOf.30.status","typeLabel":"integer"}},"uniqueKey":"errors.items.[INDEX].oneOf.30","typeLabel":"object"},{"type":"object","required":["type","title","detail"],"properties":{"detail":{"type":"string","isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.31.detail","typeLabel":"string"},"title":{"type":"string","isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.31.title","typeLabel":"string"},"type":{"type":"string","enum":["https://api.x.com/2/problems/dm-participant-restricted"],"isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.31.type","typeLabel":"enum\u003cstring>"},"status":{"type":"integer","uniqueKey":"errors.items.[INDEX].oneOf.31.status","typeLabel":"integer"}},"uniqueKey":"errors.items.[INDEX].oneOf.31","typeLabel":"object"},{"type":"object","required":["type","title","detail"],"properties":{"detail":{"type":"string","isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.32.detail","typeLabel":"string"},"title":{"type":"string","isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.32.title","typeLabel":"string"},"type":{"type":"string","enum":["https://api.x.com/2/problems/dm-participant-unavailable"],"isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.32.type","typeLabel":"enum\u003cstring>"},"status":{"type":"integer","uniqueKey":"errors.items.[INDEX].oneOf.32.status","typeLabel":"integer"}},"uniqueKey":"errors.items.[INDEX].oneOf.32","typeLabel":"object"},{"type":"object","required":["type","title","detail"],"properties":{"detail":{"type":"string","isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.33.detail","typeLabel":"string"},"title":{"type":"string","isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.33.title","typeLabel":"string"},"type":{"type":"string","enum":["https://api.x.com/2/problems/dm-rate-limited"],"isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.33.type","typeLabel":"enum\u003cstring>"},"status":{"type":"integer","uniqueKey":"errors.items.[INDEX].oneOf.33.status","typeLabel":"integer"}},"uniqueKey":"errors.items.[INDEX].oneOf.33","typeLabel":"object"},{"type":"object","required":["type","title","detail"],"properties":{"detail":{"type":"string","isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.34.detail","typeLabel":"string"},"title":{"type":"string","isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.34.title","typeLabel":"string"},"type":{"type":"string","enum":["https://api.x.com/2/problems/dm-recipient-blocks-sender"],"isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.34.type","typeLabel":"enum\u003cstring>"},"status":{"type":"integer","uniqueKey":"errors.items.[INDEX].oneOf.34.status","typeLabel":"integer"}},"uniqueKey":"errors.items.[INDEX].oneOf.34","typeLabel":"object"},{"type":"object","required":["type","title","detail"],"properties":{"detail":{"type":"string","isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.35.detail","typeLabel":"string"},"title":{"type":"string","isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.35.title","typeLabel":"string"},"type":{"type":"string","enum":["https://api.x.com/2/problems/dm-recipient-cannot-receive"],"isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.35.type","typeLabel":"enum\u003cstring>"},"status":{"type":"integer","uniqueKey":"errors.items.[INDEX].oneOf.35.status","typeLabel":"integer"}},"uniqueKey":"errors.items.[INDEX].oneOf.35","typeLabel":"object"},{"type":"object","required":["type","title","detail"],"properties":{"detail":{"type":"string","isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.36.detail","typeLabel":"string"},"title":{"type":"string","isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.36.title","typeLabel":"string"},"type":{"type":"string","enum":["https://api.x.com/2/problems/dm-recipient-encrypted-unavailable"],"isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.36.type","typeLabel":"enum\u003cstring>"},"status":{"type":"integer","uniqueKey":"errors.items.[INDEX].oneOf.36.status","typeLabel":"integer"}},"uniqueKey":"errors.items.[INDEX].oneOf.36","typeLabel":"object"},{"type":"object","required":["type","title","detail"],"properties":{"detail":{"type":"string","isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.37.detail","typeLabel":"string"},"title":{"type":"string","isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.37.title","typeLabel":"string"},"type":{"type":"string","enum":["https://api.x.com/2/problems/dm-recipient-not-accepting"],"isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.37.type","typeLabel":"enum\u003cstring>"},"status":{"type":"integer","uniqueKey":"errors.items.[INDEX].oneOf.37.status","typeLabel":"integer"}},"uniqueKey":"errors.items.[INDEX].oneOf.37","typeLabel":"object"},{"type":"object","required":["type","title","detail"],"properties":{"detail":{"type":"string","isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.38.detail","typeLabel":"string"},"title":{"type":"string","isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.38.title","typeLabel":"string"},"type":{"type":"string","enum":["https://api.x.com/2/problems/dm-recipient-not-found"],"isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.38.type","typeLabel":"enum\u003cstring>"},"status":{"type":"integer","uniqueKey":"errors.items.[INDEX].oneOf.38.status","typeLabel":"integer"}},"uniqueKey":"errors.items.[INDEX].oneOf.38","typeLabel":"object"},{"type":"object","required":["type","title","detail"],"properties":{"detail":{"type":"string","isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.39.detail","typeLabel":"string"},"title":{"type":"string","isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.39.title","typeLabel":"string"},"type":{"type":"string","enum":["https://api.x.com/2/problems/dm-recipient-restricts-groups"],"isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.39.type","typeLabel":"enum\u003cstring>"},"status":{"type":"integer","uniqueKey":"errors.items.[INDEX].oneOf.39.status","typeLabel":"integer"}},"uniqueKey":"errors.items.[INDEX].oneOf.39","typeLabel":"object"},{"type":"object","required":["type","title","detail"],"properties":{"detail":{"type":"string","isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.40.detail","typeLabel":"string"},"title":{"type":"string","isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.40.title","typeLabel":"string"},"type":{"type":"string","enum":["https://api.x.com/2/problems/dm-recipient-unavailable"],"isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.40.type","typeLabel":"enum\u003cstring>"},"status":{"type":"integer","uniqueKey":"errors.items.[INDEX].oneOf.40.status","typeLabel":"integer"}},"uniqueKey":"errors.items.[INDEX].oneOf.40","typeLabel":"object"},{"type":"object","required":["type","title","detail"],"properties":{"detail":{"type":"string","isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.41.detail","typeLabel":"string"},"title":{"type":"string","isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.41.title","typeLabel":"string"},"type":{"type":"string","enum":["https://api.x.com/2/problems/dm-request-in-progress"],"isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.41.type","typeLabel":"enum\u003cstring>"},"status":{"type":"integer","uniqueKey":"errors.items.[INDEX].oneOf.41.status","typeLabel":"integer"}},"uniqueKey":"errors.items.[INDEX].oneOf.41","typeLabel":"object"},{"type":"object","required":["type","title","detail"],"properties":{"detail":{"type":"string","isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.42.detail","typeLabel":"string"},"title":{"type":"string","isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.42.title","typeLabel":"string"},"type":{"type":"string","enum":["https://api.x.com/2/problems/dm-safety-limited"],"isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.42.type","typeLabel":"enum\u003cstring>"},"status":{"type":"integer","uniqueKey":"errors.items.[INDEX].oneOf.42.status","typeLabel":"integer"}},"uniqueKey":"errors.items.[INDEX].oneOf.42","typeLabel":"object"},{"type":"object","required":["type","title","detail"],"properties":{"detail":{"type":"string","isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.43.detail","typeLabel":"string"},"title":{"type":"string","isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.43.title","typeLabel":"string"},"type":{"type":"string","enum":["https://api.x.com/2/problems/dm-safety-rejected"],"isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.43.type","typeLabel":"enum\u003cstring>"},"status":{"type":"integer","uniqueKey":"errors.items.[INDEX].oneOf.43.status","typeLabel":"integer"}},"uniqueKey":"errors.items.[INDEX].oneOf.43","typeLabel":"object"},{"type":"object","required":["type","title","detail"],"properties":{"detail":{"type":"string","isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.44.detail","typeLabel":"string"},"title":{"type":"string","isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.44.title","typeLabel":"string"},"type":{"type":"string","enum":["https://api.x.com/2/problems/dm-sender-blocks-recipient"],"isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.44.type","typeLabel":"enum\u003cstring>"},"status":{"type":"integer","uniqueKey":"errors.items.[INDEX].oneOf.44.status","typeLabel":"integer"}},"uniqueKey":"errors.items.[INDEX].oneOf.44","typeLabel":"object"},{"type":"object","required":["type","title","detail"],"properties":{"detail":{"type":"string","isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.45.detail","typeLabel":"string"},"title":{"type":"string","isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.45.title","typeLabel":"string"},"type":{"type":"string","enum":["https://api.x.com/2/problems/dm-sender-declined-dms"],"isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.45.type","typeLabel":"enum\u003cstring>"},"status":{"type":"integer","uniqueKey":"errors.items.[INDEX].oneOf.45.status","typeLabel":"integer"}},"uniqueKey":"errors.items.[INDEX].oneOf.45","typeLabel":"object"},{"type":"object","required":["type","title","detail"],"properties":{"detail":{"type":"string","isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.46.detail","typeLabel":"string"},"title":{"type":"string","isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.46.title","typeLabel":"string"},"type":{"type":"string","enum":["https://api.x.com/2/problems/dm-sender-dms-closed"],"isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.46.type","typeLabel":"enum\u003cstring>"},"status":{"type":"integer","uniqueKey":"errors.items.[INDEX].oneOf.46.status","typeLabel":"integer"}},"uniqueKey":"errors.items.[INDEX].oneOf.46","typeLabel":"object"},{"type":"object","required":["type","title","detail"],"properties":{"detail":{"type":"string","isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.47.detail","typeLabel":"string"},"title":{"type":"string","isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.47.title","typeLabel":"string"},"type":{"type":"string","enum":["https://api.x.com/2/problems/dm-sender-encrypted-unavailable"],"isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.47.type","typeLabel":"enum\u003cstring>"},"status":{"type":"integer","uniqueKey":"errors.items.[INDEX].oneOf.47.status","typeLabel":"integer"}},"uniqueKey":"errors.items.[INDEX].oneOf.47","typeLabel":"object"},{"type":"object","required":["type","title","detail"],"properties":{"detail":{"type":"string","isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.48.detail","typeLabel":"string"},"title":{"type":"string","isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.48.title","typeLabel":"string"},"type":{"type":"string","enum":["https://api.x.com/2/problems/dm-sender-not-in-conversation"],"isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.48.type","typeLabel":"enum\u003cstring>"},"status":{"type":"integer","uniqueKey":"errors.items.[INDEX].oneOf.48.status","typeLabel":"integer"}},"uniqueKey":"errors.items.[INDEX].oneOf.48","typeLabel":"object"},{"type":"object","required":["type","title","detail"],"properties":{"detail":{"type":"string","isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.49.detail","typeLabel":"string"},"title":{"type":"string","isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.49.title","typeLabel":"string"},"type":{"type":"string","enum":["https://api.x.com/2/problems/dm-sender-not-permitted"],"isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.49.type","typeLabel":"enum\u003cstring>"},"status":{"type":"integer","uniqueKey":"errors.items.[INDEX].oneOf.49.status","typeLabel":"integer"}},"uniqueKey":"errors.items.[INDEX].oneOf.49","typeLabel":"object"},{"type":"object","required":["type","title","detail"],"properties":{"detail":{"type":"string","isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.50.detail","typeLabel":"string"},"title":{"type":"string","isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.50.title","typeLabel":"string"},"type":{"type":"string","enum":["https://api.x.com/2/problems/dm-sender-not-verified"],"isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.50.type","typeLabel":"enum\u003cstring>"},"status":{"type":"integer","uniqueKey":"errors.items.[INDEX].oneOf.50.status","typeLabel":"integer"}},"uniqueKey":"errors.items.[INDEX].oneOf.50","typeLabel":"object"},{"type":"object","required":["type","title","detail"],"properties":{"detail":{"type":"string","isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.51.detail","typeLabel":"string"},"title":{"type":"string","isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.51.title","typeLabel":"string"},"type":{"type":"string","enum":["https://api.x.com/2/problems/dm-sender-phone-required"],"isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.51.type","typeLabel":"enum\u003cstring>"},"status":{"type":"integer","uniqueKey":"errors.items.[INDEX].oneOf.51.status","typeLabel":"integer"}},"uniqueKey":"errors.items.[INDEX].oneOf.51","typeLabel":"object"},{"type":"object","required":["type","title","detail"],"properties":{"detail":{"type":"string","isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.52.detail","typeLabel":"string"},"title":{"type":"string","isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.52.title","typeLabel":"string"},"type":{"type":"string","enum":["https://api.x.com/2/problems/dm-sender-read-only"],"isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.52.type","typeLabel":"enum\u003cstring>"},"status":{"type":"integer","uniqueKey":"errors.items.[INDEX].oneOf.52.status","typeLabel":"integer"}},"uniqueKey":"errors.items.[INDEX].oneOf.52","typeLabel":"object"},{"type":"object","required":["type","title","detail"],"properties":{"detail":{"type":"string","isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.53.detail","typeLabel":"string"},"title":{"type":"string","isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.53.title","typeLabel":"string"},"type":{"type":"string","enum":["https://api.x.com/2/problems/dm-sender-unavailable"],"isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.53.type","typeLabel":"enum\u003cstring>"},"status":{"type":"integer","uniqueKey":"errors.items.[INDEX].oneOf.53.status","typeLabel":"integer"}},"uniqueKey":"errors.items.[INDEX].oneOf.53","typeLabel":"object"},{"type":"object","required":["type","title","detail"],"properties":{"detail":{"type":"string","isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.54.detail","typeLabel":"string"},"title":{"type":"string","isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.54.title","typeLabel":"string"},"type":{"type":"string","enum":["https://api.x.com/2/problems/dm-text-empty"],"isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.54.type","typeLabel":"enum\u003cstring>"},"status":{"type":"integer","uniqueKey":"errors.items.[INDEX].oneOf.54.status","typeLabel":"integer"}},"uniqueKey":"errors.items.[INDEX].oneOf.54","typeLabel":"object"},{"type":"object","required":["type","title","detail"],"properties":{"detail":{"type":"string","isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.55.detail","typeLabel":"string"},"title":{"type":"string","isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.55.title","typeLabel":"string"},"type":{"type":"string","enum":["https://api.x.com/2/problems/dm-text-too-long"],"isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.55.type","typeLabel":"enum\u003cstring>"},"status":{"type":"integer","uniqueKey":"errors.items.[INDEX].oneOf.55.status","typeLabel":"integer"}},"uniqueKey":"errors.items.[INDEX].oneOf.55","typeLabel":"object"},{"type":"object","required":["type","title","detail"],"properties":{"detail":{"type":"string","isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.56.detail","typeLabel":"string"},"title":{"type":"string","isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.56.title","typeLabel":"string"},"type":{"type":"string","enum":["https://api.x.com/2/problems/dm-too-few-participants"],"isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.56.type","typeLabel":"enum\u003cstring>"},"status":{"type":"integer","uniqueKey":"errors.items.[INDEX].oneOf.56.status","typeLabel":"integer"}},"uniqueKey":"errors.items.[INDEX].oneOf.56","typeLabel":"object"},{"type":"object","required":["type","title","detail"],"properties":{"detail":{"type":"string","isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.57.detail","typeLabel":"string"},"title":{"type":"string","isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.57.title","typeLabel":"string"},"type":{"type":"string","enum":["https://api.x.com/2/problems/dm-too-many-participants"],"isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.57.type","typeLabel":"enum\u003cstring>"},"status":{"type":"integer","uniqueKey":"errors.items.[INDEX].oneOf.57.status","typeLabel":"integer"}},"uniqueKey":"errors.items.[INDEX].oneOf.57","typeLabel":"object"},{"type":"object","required":["type","title","detail"],"properties":{"detail":{"type":"string","isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.58.detail","typeLabel":"string"},"title":{"type":"string","isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.58.title","typeLabel":"string"},"type":{"type":"string","enum":["https://api.x.com/2/problems/dm-unsupported-message"],"isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.58.type","typeLabel":"enum\u003cstring>"},"status":{"type":"integer","uniqueKey":"errors.items.[INDEX].oneOf.58.status","typeLabel":"integer"}},"uniqueKey":"errors.items.[INDEX].oneOf.58","typeLabel":"object"},{"type":"object","required":["type","title","value"],"properties":{"title":{"type":"string","isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.59.title","typeLabel":"string"},"type":{"type":"string","enum":["https://api.twitter.com/2/problems/duplicate-rules"],"isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.59.type","typeLabel":"enum\u003cstring>"},"value":{"type":"string","isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.59.value","typeLabel":"string"},"detail":{"type":"string","uniqueKey":"errors.items.[INDEX].oneOf.59.detail","typeLabel":"string"},"id":{"type":"string","uniqueKey":"errors.items.[INDEX].oneOf.59.id","typeLabel":"string"}},"uniqueKey":"errors.items.[INDEX].oneOf.59","typeLabel":"object"},{"type":"object","required":["type","title","details"],"properties":{"details":{"type":"array","items":{"type":"string","uniqueKey":"errors.items.[INDEX].oneOf.60.details.items.[INDEX]","typeLabel":"string"},"isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.60.details","typeLabel":"string[]"},"title":{"type":"string","isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.60.title","typeLabel":"string"},"type":{"type":"string","enum":["https://api.twitter.com/2/problems/invalid-rules"],"isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.60.type","typeLabel":"enum\u003cstring>"},"detail":{"type":"string","uniqueKey":"errors.items.[INDEX].oneOf.60.detail","typeLabel":"string"},"value":{"type":"string","uniqueKey":"errors.items.[INDEX].oneOf.60.value","typeLabel":"string"}},"uniqueKey":"errors.items.[INDEX].oneOf.60","typeLabel":"object"}],"uniqueKey":"errors.items.[INDEX]","typeLabel":"object"},"uniqueKey":"errors","typeLabel":"object[]"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"data":{"id":"\u003cstring>","text":"\u003cstring>","edit_history_post_ids":["\u003cstring>"]},"errors":[{"detail":"\u003cstring>","resource_type":"\u003cstring>","title":"\u003cstring>","type":"https://api.x.com/2/problems/resource-not-found","parameter":"\u003cstring>","resource_id":"\u003cstring>","status":123,"value":"\u003cstring>"}]}}},"exampleType":"generated"}},"exampleType":"generated"},"6691f169-e07a-4e5b-bcd8-4357c37877b5":{"description":"The request has failed.","content":{"application/json":{"schema":{"type":"object","required":["code","message"],"properties":{"code":{"type":"integer","format":"int32","isRequired":true,"uniqueKey":"code","typeLabel":"integer\u003cint32>"},"message":{"type":"string","isRequired":true,"uniqueKey":"message","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"code":123,"message":"\u003cstring>"}}},"exampleType":"generated"},"application/problem+json":{"schema":{"oneOf":[{"type":"object","required":["type","title","detail","resource_type"],"properties":{"detail":{"type":"string","isRequired":true,"uniqueKey":"oneOf.0.detail","typeLabel":"string"},"resource_type":{"type":"string","isRequired":true,"uniqueKey":"oneOf.0.resource_type","typeLabel":"string"},"title":{"type":"string","isRequired":true,"uniqueKey":"oneOf.0.title","typeLabel":"string"},"type":{"type":"string","enum":["https://api.x.com/2/problems/resource-not-found"],"isRequired":true,"uniqueKey":"oneOf.0.type","typeLabel":"enum\u003cstring>"},"parameter":{"type":"string","uniqueKey":"oneOf.0.parameter","typeLabel":"string"},"resource_id":{"type":"string","uniqueKey":"oneOf.0.resource_id","typeLabel":"string"},"status":{"type":"integer","uniqueKey":"oneOf.0.status","typeLabel":"integer"},"value":{"type":"string","uniqueKey":"oneOf.0.value","typeLabel":"string"}},"uniqueKey":"oneOf.0","typeLabel":"object"},{"type":"object","required":["type","title","detail"],"properties":{"detail":{"type":"string","isRequired":true,"uniqueKey":"oneOf.1.detail","typeLabel":"string"},"title":{"type":"string","isRequired":true,"uniqueKey":"oneOf.1.title","typeLabel":"string"},"type":{"type":"string","enum":["https://api.x.com/2/problems/invalid-request"],"isRequired":true,"uniqueKey":"oneOf.1.type","typeLabel":"enum\u003cstring>"},"parameter":{"type":"string","uniqueKey":"oneOf.1.parameter","typeLabel":"string"},"status":{"type":"integer","uniqueKey":"oneOf.1.status","typeLabel":"integer"},"value":{"type":"string","uniqueKey":"oneOf.1.value","typeLabel":"string"}},"uniqueKey":"oneOf.1","typeLabel":"object"},{"type":"object","required":["type","title","detail","resource_type"],"properties":{"detail":{"type":"string","isRequired":true,"uniqueKey":"oneOf.2.detail","typeLabel":"string"},"resource_type":{"type":"string","isRequired":true,"uniqueKey":"oneOf.2.resource_type","typeLabel":"string"},"title":{"type":"string","isRequired":true,"uniqueKey":"oneOf.2.title","typeLabel":"string"},"type":{"type":"string","enum":["https://api.x.com/2/problems/not-authorized-for-resource"],"isRequired":true,"uniqueKey":"oneOf.2.type","typeLabel":"enum\u003cstring>"},"parameter":{"type":"string","uniqueKey":"oneOf.2.parameter","typeLabel":"string"},"resource_id":{"type":"string","uniqueKey":"oneOf.2.resource_id","typeLabel":"string"},"section":{"type":"string","uniqueKey":"oneOf.2.section","typeLabel":"string"},"status":{"type":"integer","uniqueKey":"oneOf.2.status","typeLabel":"integer"},"value":{"type":"string","uniqueKey":"oneOf.2.value","typeLabel":"string"}},"uniqueKey":"oneOf.2","typeLabel":"object"},{"type":"object","required":["type","title","detail","field"],"properties":{"detail":{"type":"string","isRequired":true,"uniqueKey":"oneOf.3.detail","typeLabel":"string"},"field":{"type":"string","isRequired":true,"uniqueKey":"oneOf.3.field","typeLabel":"string"},"title":{"type":"string","isRequired":true,"uniqueKey":"oneOf.3.title","typeLabel":"string"},"type":{"type":"string","enum":["https://api.x.com/2/problems/not-authorized-for-field"],"isRequired":true,"uniqueKey":"oneOf.3.type","typeLabel":"enum\u003cstring>"},"parameter":{"type":"string","uniqueKey":"oneOf.3.parameter","typeLabel":"string"},"resource_id":{"type":"string","uniqueKey":"oneOf.3.resource_id","typeLabel":"string"},"resource_type":{"type":"string","uniqueKey":"oneOf.3.resource_type","typeLabel":"string"},"section":{"type":"string","uniqueKey":"oneOf.3.section","typeLabel":"string"},"status":{"type":"integer","uniqueKey":"oneOf.3.status","typeLabel":"integer"},"value":{"type":"string","uniqueKey":"oneOf.3.value","typeLabel":"string"}},"uniqueKey":"oneOf.3","typeLabel":"object"},{"type":"object","required":["type","title","detail","field"],"properties":{"detail":{"type":"string","isRequired":true,"uniqueKey":"oneOf.4.detail","typeLabel":"string"},"field":{"type":"string","isRequired":true,"uniqueKey":"oneOf.4.field","typeLabel":"string"},"title":{"type":"string","isRequired":true,"uniqueKey":"oneOf.4.title","typeLabel":"string"},"type":{"type":"string","enum":["https://api.x.com/2/problems/field-unauthorized"],"isRequired":true,"uniqueKey":"oneOf.4.type","typeLabel":"enum\u003cstring>"},"resource_type":{"type":"string","uniqueKey":"oneOf.4.resource_type","typeLabel":"string"},"section":{"type":"string","uniqueKey":"oneOf.4.section","typeLabel":"string"},"status":{"type":"integer","uniqueKey":"oneOf.4.status","typeLabel":"integer"}},"uniqueKey":"oneOf.4","typeLabel":"object"},{"type":"object","required":["type","title","detail","field"],"properties":{"detail":{"type":"string","isRequired":true,"uniqueKey":"oneOf.5.detail","typeLabel":"string"},"field":{"type":"string","isRequired":true,"uniqueKey":"oneOf.5.field","typeLabel":"string"},"title":{"type":"string","isRequired":true,"uniqueKey":"oneOf.5.title","typeLabel":"string"},"type":{"type":"string","enum":["https://api.x.com/2/problems/field-hydration-failure"],"isRequired":true,"uniqueKey":"oneOf.5.type","typeLabel":"enum\u003cstring>"},"resource_type":{"type":"string","uniqueKey":"oneOf.5.resource_type","typeLabel":"string"},"section":{"type":"string","uniqueKey":"oneOf.5.section","typeLabel":"string"},"status":{"type":"integer","uniqueKey":"oneOf.5.status","typeLabel":"integer"}},"uniqueKey":"oneOf.5","typeLabel":"object"},{"type":"object","required":["type","title","detail","resource_type"],"properties":{"detail":{"type":"string","isRequired":true,"uniqueKey":"oneOf.6.detail","typeLabel":"string"},"resource_type":{"type":"string","isRequired":true,"uniqueKey":"oneOf.6.resource_type","typeLabel":"string"},"title":{"type":"string","isRequired":true,"uniqueKey":"oneOf.6.title","typeLabel":"string"},"type":{"type":"string","enum":["https://api.x.com/2/problems/resource-unavailable"],"isRequired":true,"uniqueKey":"oneOf.6.type","typeLabel":"enum\u003cstring>"},"resource_id":{"type":"string","uniqueKey":"oneOf.6.resource_id","typeLabel":"string"},"status":{"type":"integer","uniqueKey":"oneOf.6.status","typeLabel":"integer"}},"uniqueKey":"oneOf.6","typeLabel":"object"},{"type":"object","required":["type","title","detail"],"properties":{"detail":{"type":"string","isRequired":true,"uniqueKey":"oneOf.7.detail","typeLabel":"string"},"title":{"type":"string","isRequired":true,"uniqueKey":"oneOf.7.title","typeLabel":"string"},"type":{"type":"string","enum":["https://api.x.com/2/problems/disallowed-resource"],"isRequired":true,"uniqueKey":"oneOf.7.type","typeLabel":"enum\u003cstring>"},"resource_id":{"type":"string","uniqueKey":"oneOf.7.resource_id","typeLabel":"string"},"resource_type":{"type":"string","uniqueKey":"oneOf.7.resource_type","typeLabel":"string"},"section":{"type":"string","uniqueKey":"oneOf.7.section","typeLabel":"string"},"status":{"type":"integer","uniqueKey":"oneOf.7.status","typeLabel":"integer"}},"uniqueKey":"oneOf.7","typeLabel":"object"},{"type":"object","required":["type","title","detail"],"properties":{"detail":{"type":"string","isRequired":true,"uniqueKey":"oneOf.8.detail","typeLabel":"string"},"title":{"type":"string","isRequired":true,"uniqueKey":"oneOf.8.title","typeLabel":"string"},"type":{"type":"string","enum":["https://api.x.com/2/problems/recipient-not-messageable"],"isRequired":true,"uniqueKey":"oneOf.8.type","typeLabel":"enum\u003cstring>"},"status":{"type":"integer","uniqueKey":"oneOf.8.status","typeLabel":"integer"}},"uniqueKey":"oneOf.8","typeLabel":"object"},{"type":"object","required":["type","title","detail"],"properties":{"detail":{"type":"string","isRequired":true,"uniqueKey":"oneOf.9.detail","typeLabel":"string"},"title":{"type":"string","isRequired":true,"uniqueKey":"oneOf.9.title","typeLabel":"string"},"type":{"type":"string","enum":["https://api.x.com/2/problems/internal-error"],"isRequired":true,"uniqueKey":"oneOf.9.type","typeLabel":"enum\u003cstring>"},"status":{"type":"integer","uniqueKey":"oneOf.9.status","typeLabel":"integer"}},"uniqueKey":"oneOf.9","typeLabel":"object"},{"type":"object","required":["type","title","detail"],"properties":{"detail":{"type":"string","isRequired":true,"uniqueKey":"oneOf.10.detail","typeLabel":"string"},"title":{"type":"string","isRequired":true,"uniqueKey":"oneOf.10.title","typeLabel":"string"},"type":{"type":"string","enum":["https://api.x.com/2/problems/chat-permissions-unavailable"],"isRequired":true,"uniqueKey":"oneOf.10.type","typeLabel":"enum\u003cstring>"},"status":{"type":"integer","uniqueKey":"oneOf.10.status","typeLabel":"integer"}},"uniqueKey":"oneOf.10","typeLabel":"object"},{"type":"object","required":["type","title","detail"],"properties":{"detail":{"type":"string","isRequired":true,"uniqueKey":"oneOf.11.detail","typeLabel":"string"},"title":{"type":"string","isRequired":true,"uniqueKey":"oneOf.11.title","typeLabel":"string"},"type":{"type":"string","enum":["https://api.x.com/2/problems/encryption-required"],"isRequired":true,"uniqueKey":"oneOf.11.type","typeLabel":"enum\u003cstring>"},"status":{"type":"integer","uniqueKey":"oneOf.11.status","typeLabel":"integer"}},"uniqueKey":"oneOf.11","typeLabel":"object"},{"type":"object","required":["type","title","detail"],"properties":{"detail":{"type":"string","isRequired":true,"uniqueKey":"oneOf.12.detail","typeLabel":"string"},"title":{"type":"string","isRequired":true,"uniqueKey":"oneOf.12.title","typeLabel":"string"},"type":{"type":"string","enum":["https://api.x.com/2/problems/message-request-not-supported"],"isRequired":true,"uniqueKey":"oneOf.12.type","typeLabel":"enum\u003cstring>"},"status":{"type":"integer","uniqueKey":"oneOf.12.status","typeLabel":"integer"}},"uniqueKey":"oneOf.12","typeLabel":"object"},{"type":"object","required":["type","title","detail"],"properties":{"detail":{"type":"string","isRequired":true,"uniqueKey":"oneOf.13.detail","typeLabel":"string"},"title":{"type":"string","isRequired":true,"uniqueKey":"oneOf.13.title","typeLabel":"string"},"type":{"type":"string","enum":["https://api.x.com/2/problems/recipient-xchat-setup-required"],"isRequired":true,"uniqueKey":"oneOf.13.type","typeLabel":"enum\u003cstring>"},"status":{"type":"integer","uniqueKey":"oneOf.13.status","typeLabel":"integer"}},"uniqueKey":"oneOf.13","typeLabel":"object"},{"type":"object","required":["type","title","detail"],"properties":{"detail":{"type":"string","isRequired":true,"uniqueKey":"oneOf.14.detail","typeLabel":"string"},"title":{"type":"string","isRequired":true,"uniqueKey":"oneOf.14.title","typeLabel":"string"},"type":{"type":"string","enum":["https://api.x.com/2/problems/unencrypted-send-not-allowed"],"isRequired":true,"uniqueKey":"oneOf.14.type","typeLabel":"enum\u003cstring>"},"status":{"type":"integer","uniqueKey":"oneOf.14.status","typeLabel":"integer"}},"uniqueKey":"oneOf.14","typeLabel":"object"},{"type":"object","required":["type","title","detail"],"properties":{"detail":{"type":"string","isRequired":true,"uniqueKey":"oneOf.15.detail","typeLabel":"string"},"title":{"type":"string","isRequired":true,"uniqueKey":"oneOf.15.title","typeLabel":"string"},"type":{"type":"string","enum":["https://api.x.com/2/problems/xchat-setup-required"],"isRequired":true,"uniqueKey":"oneOf.15.type","typeLabel":"enum\u003cstring>"},"status":{"type":"integer","uniqueKey":"oneOf.15.status","typeLabel":"integer"}},"uniqueKey":"oneOf.15","typeLabel":"object"},{"type":"object","required":["type","title","detail"],"properties":{"detail":{"type":"string","isRequired":true,"uniqueKey":"oneOf.16.detail","typeLabel":"string"},"title":{"type":"string","isRequired":true,"uniqueKey":"oneOf.16.title","typeLabel":"string"},"type":{"type":"string","enum":["https://api.x.com/2/problems/dm-bad-attachment"],"isRequired":true,"uniqueKey":"oneOf.16.type","typeLabel":"enum\u003cstring>"},"status":{"type":"integer","uniqueKey":"oneOf.16.status","typeLabel":"integer"}},"uniqueKey":"oneOf.16","typeLabel":"object"},{"type":"object","required":["type","title","detail"],"properties":{"detail":{"type":"string","isRequired":true,"uniqueKey":"oneOf.17.detail","typeLabel":"string"},"title":{"type":"string","isRequired":true,"uniqueKey":"oneOf.17.title","typeLabel":"string"},"type":{"type":"string","enum":["https://api.x.com/2/problems/dm-bad-cta"],"isRequired":true,"uniqueKey":"oneOf.17.type","typeLabel":"enum\u003cstring>"},"status":{"type":"integer","uniqueKey":"oneOf.17.status","typeLabel":"integer"}},"uniqueKey":"oneOf.17","typeLabel":"object"},{"type":"object","required":["type","title","detail"],"properties":{"detail":{"type":"string","isRequired":true,"uniqueKey":"oneOf.18.detail","typeLabel":"string"},"title":{"type":"string","isRequired":true,"uniqueKey":"oneOf.18.title","typeLabel":"string"},"type":{"type":"string","enum":["https://api.x.com/2/problems/dm-bad-custom-profile"],"isRequired":true,"uniqueKey":"oneOf.18.type","typeLabel":"enum\u003cstring>"},"status":{"type":"integer","uniqueKey":"oneOf.18.status","typeLabel":"integer"}},"uniqueKey":"oneOf.18","typeLabel":"object"},{"type":"object","required":["type","title","detail"],"properties":{"detail":{"type":"string","isRequired":true,"uniqueKey":"oneOf.19.detail","typeLabel":"string"},"title":{"type":"string","isRequired":true,"uniqueKey":"oneOf.19.title","typeLabel":"string"},"type":{"type":"string","enum":["https://api.x.com/2/problems/dm-bad-media"],"isRequired":true,"uniqueKey":"oneOf.19.type","typeLabel":"enum\u003cstring>"},"status":{"type":"integer","uniqueKey":"oneOf.19.status","typeLabel":"integer"}},"uniqueKey":"oneOf.19","typeLabel":"object"},{"type":"object","required":["type","title","detail"],"properties":{"detail":{"type":"string","isRequired":true,"uniqueKey":"oneOf.20.detail","typeLabel":"string"},"title":{"type":"string","isRequired":true,"uniqueKey":"oneOf.20.title","typeLabel":"string"},"type":{"type":"string","enum":["https://api.x.com/2/problems/dm-bad-quick-reply"],"isRequired":true,"uniqueKey":"oneOf.20.type","typeLabel":"enum\u003cstring>"},"status":{"type":"integer","uniqueKey":"oneOf.20.status","typeLabel":"integer"}},"uniqueKey":"oneOf.20","typeLabel":"object"},{"type":"object","required":["type","title","detail"],"properties":{"detail":{"type":"string","isRequired":true,"uniqueKey":"oneOf.21.detail","typeLabel":"string"},"title":{"type":"string","isRequired":true,"uniqueKey":"oneOf.21.title","typeLabel":"string"},"type":{"type":"string","enum":["https://api.x.com/2/problems/dm-bad-url"],"isRequired":true,"uniqueKey":"oneOf.21.type","typeLabel":"enum\u003cstring>"},"status":{"type":"integer","uniqueKey":"oneOf.21.status","typeLabel":"integer"}},"uniqueKey":"oneOf.21","typeLabel":"object"},{"type":"object","required":["type","title","detail"],"properties":{"detail":{"type":"string","isRequired":true,"uniqueKey":"oneOf.22.detail","typeLabel":"string"},"title":{"type":"string","isRequired":true,"uniqueKey":"oneOf.22.title","typeLabel":"string"},"type":{"type":"string","enum":["https://api.x.com/2/problems/dm-conversation-name-too-long"],"isRequired":true,"uniqueKey":"oneOf.22.type","typeLabel":"enum\u003cstring>"},"status":{"type":"integer","uniqueKey":"oneOf.22.status","typeLabel":"integer"}},"uniqueKey":"oneOf.22","typeLabel":"object"},{"type":"object","required":["type","title","detail"],"properties":{"detail":{"type":"string","isRequired":true,"uniqueKey":"oneOf.23.detail","typeLabel":"string"},"title":{"type":"string","isRequired":true,"uniqueKey":"oneOf.23.title","typeLabel":"string"},"type":{"type":"string","enum":["https://api.x.com/2/problems/dm-conversation-not-found"],"isRequired":true,"uniqueKey":"oneOf.23.type","typeLabel":"enum\u003cstring>"},"status":{"type":"integer","uniqueKey":"oneOf.23.status","typeLabel":"integer"}},"uniqueKey":"oneOf.23","typeLabel":"object"},{"type":"object","required":["type","title","detail"],"properties":{"detail":{"type":"string","isRequired":true,"uniqueKey":"oneOf.24.detail","typeLabel":"string"},"title":{"type":"string","isRequired":true,"uniqueKey":"oneOf.24.title","typeLabel":"string"},"type":{"type":"string","enum":["https://api.x.com/2/problems/dm-duplicate"],"isRequired":true,"uniqueKey":"oneOf.24.type","typeLabel":"enum\u003cstring>"},"status":{"type":"integer","uniqueKey":"oneOf.24.status","typeLabel":"integer"}},"uniqueKey":"oneOf.24","typeLabel":"object"},{"type":"object","required":["type","title","detail"],"properties":{"detail":{"type":"string","isRequired":true,"uniqueKey":"oneOf.25.detail","typeLabel":"string"},"title":{"type":"string","isRequired":true,"uniqueKey":"oneOf.25.title","typeLabel":"string"},"type":{"type":"string","enum":["https://api.x.com/2/problems/dm-inactive-device"],"isRequired":true,"uniqueKey":"oneOf.25.type","typeLabel":"enum\u003cstring>"},"status":{"type":"integer","uniqueKey":"oneOf.25.status","typeLabel":"integer"}},"uniqueKey":"oneOf.25","typeLabel":"object"},{"type":"object","required":["type","title","detail"],"properties":{"detail":{"type":"string","isRequired":true,"uniqueKey":"oneOf.26.detail","typeLabel":"string"},"title":{"type":"string","isRequired":true,"uniqueKey":"oneOf.26.title","typeLabel":"string"},"type":{"type":"string","enum":["https://api.x.com/2/problems/dm-not-delivered"],"isRequired":true,"uniqueKey":"oneOf.26.type","typeLabel":"enum\u003cstring>"},"status":{"type":"integer","uniqueKey":"oneOf.26.status","typeLabel":"integer"}},"uniqueKey":"oneOf.26","typeLabel":"object"},{"type":"object","required":["type","title","detail"],"properties":{"detail":{"type":"string","isRequired":true,"uniqueKey":"oneOf.27.detail","typeLabel":"string"},"title":{"type":"string","isRequired":true,"uniqueKey":"oneOf.27.title","typeLabel":"string"},"type":{"type":"string","enum":["https://api.x.com/2/problems/dm-not-found"],"isRequired":true,"uniqueKey":"oneOf.27.type","typeLabel":"enum\u003cstring>"},"status":{"type":"integer","uniqueKey":"oneOf.27.status","typeLabel":"integer"}},"uniqueKey":"oneOf.27","typeLabel":"object"},{"type":"object","required":["type","title","detail"],"properties":{"detail":{"type":"string","isRequired":true,"uniqueKey":"oneOf.28.detail","typeLabel":"string"},"title":{"type":"string","isRequired":true,"uniqueKey":"oneOf.28.title","typeLabel":"string"},"type":{"type":"string","enum":["https://api.x.com/2/problems/dm-not-owner"],"isRequired":true,"uniqueKey":"oneOf.28.type","typeLabel":"enum\u003cstring>"},"status":{"type":"integer","uniqueKey":"oneOf.28.status","typeLabel":"integer"}},"uniqueKey":"oneOf.28","typeLabel":"object"},{"type":"object","required":["type","title","detail"],"properties":{"detail":{"type":"string","isRequired":true,"uniqueKey":"oneOf.29.detail","typeLabel":"string"},"title":{"type":"string","isRequired":true,"uniqueKey":"oneOf.29.title","typeLabel":"string"},"type":{"type":"string","enum":["https://api.x.com/2/problems/dm-participant-not-added"],"isRequired":true,"uniqueKey":"oneOf.29.type","typeLabel":"enum\u003cstring>"},"status":{"type":"integer","uniqueKey":"oneOf.29.status","typeLabel":"integer"}},"uniqueKey":"oneOf.29","typeLabel":"object"},{"type":"object","required":["type","title","detail"],"properties":{"detail":{"type":"string","isRequired":true,"uniqueKey":"oneOf.30.detail","typeLabel":"string"},"title":{"type":"string","isRequired":true,"uniqueKey":"oneOf.30.title","typeLabel":"string"},"type":{"type":"string","enum":["https://api.x.com/2/problems/dm-participant-not-found"],"isRequired":true,"uniqueKey":"oneOf.30.type","typeLabel":"enum\u003cstring>"},"status":{"type":"integer","uniqueKey":"oneOf.30.status","typeLabel":"integer"}},"uniqueKey":"oneOf.30","typeLabel":"object"},{"type":"object","required":["type","title","detail"],"properties":{"detail":{"type":"string","isRequired":true,"uniqueKey":"oneOf.31.detail","typeLabel":"string"},"title":{"type":"string","isRequired":true,"uniqueKey":"oneOf.31.title","typeLabel":"string"},"type":{"type":"string","enum":["https://api.x.com/2/problems/dm-participant-restricted"],"isRequired":true,"uniqueKey":"oneOf.31.type","typeLabel":"enum\u003cstring>"},"status":{"type":"integer","uniqueKey":"oneOf.31.status","typeLabel":"integer"}},"uniqueKey":"oneOf.31","typeLabel":"object"},{"type":"object","required":["type","title","detail"],"properties":{"detail":{"type":"string","isRequired":true,"uniqueKey":"oneOf.32.detail","typeLabel":"string"},"title":{"type":"string","isRequired":true,"uniqueKey":"oneOf.32.title","typeLabel":"string"},"type":{"type":"string","enum":["https://api.x.com/2/problems/dm-participant-unavailable"],"isRequired":true,"uniqueKey":"oneOf.32.type","typeLabel":"enum\u003cstring>"},"status":{"type":"integer","uniqueKey":"oneOf.32.status","typeLabel":"integer"}},"uniqueKey":"oneOf.32","typeLabel":"object"},{"type":"object","required":["type","title","detail"],"properties":{"detail":{"type":"string","isRequired":true,"uniqueKey":"oneOf.33.detail","typeLabel":"string"},"title":{"type":"string","isRequired":true,"uniqueKey":"oneOf.33.title","typeLabel":"string"},"type":{"type":"string","enum":["https://api.x.com/2/problems/dm-rate-limited"],"isRequired":true,"uniqueKey":"oneOf.33.type","typeLabel":"enum\u003cstring>"},"status":{"type":"integer","uniqueKey":"oneOf.33.status","typeLabel":"integer"}},"uniqueKey":"oneOf.33","typeLabel":"object"},{"type":"object","required":["type","title","detail"],"properties":{"detail":{"type":"string","isRequired":true,"uniqueKey":"oneOf.34.detail","typeLabel":"string"},"title":{"type":"string","isRequired":true,"uniqueKey":"oneOf.34.title","typeLabel":"string"},"type":{"type":"string","enum":["https://api.x.com/2/problems/dm-recipient-blocks-sender"],"isRequired":true,"uniqueKey":"oneOf.34.type","typeLabel":"enum\u003cstring>"},"status":{"type":"integer","uniqueKey":"oneOf.34.status","typeLabel":"integer"}},"uniqueKey":"oneOf.34","typeLabel":"object"},{"type":"object","required":["type","title","detail"],"properties":{"detail":{"type":"string","isRequired":true,"uniqueKey":"oneOf.35.detail","typeLabel":"string"},"title":{"type":"string","isRequired":true,"uniqueKey":"oneOf.35.title","typeLabel":"string"},"type":{"type":"string","enum":["https://api.x.com/2/problems/dm-recipient-cannot-receive"],"isRequired":true,"uniqueKey":"oneOf.35.type","typeLabel":"enum\u003cstring>"},"status":{"type":"integer","uniqueKey":"oneOf.35.status","typeLabel":"integer"}},"uniqueKey":"oneOf.35","typeLabel":"object"},{"type":"object","required":["type","title","detail"],"properties":{"detail":{"type":"string","isRequired":true,"uniqueKey":"oneOf.36.detail","typeLabel":"string"},"title":{"type":"string","isRequired":true,"uniqueKey":"oneOf.36.title","typeLabel":"string"},"type":{"type":"string","enum":["https://api.x.com/2/problems/dm-recipient-encrypted-unavailable"],"isRequired":true,"uniqueKey":"oneOf.36.type","typeLabel":"enum\u003cstring>"},"status":{"type":"integer","uniqueKey":"oneOf.36.status","typeLabel":"integer"}},"uniqueKey":"oneOf.36","typeLabel":"object"},{"type":"object","required":["type","title","detail"],"properties":{"detail":{"type":"string","isRequired":true,"uniqueKey":"oneOf.37.detail","typeLabel":"string"},"title":{"type":"string","isRequired":true,"uniqueKey":"oneOf.37.title","typeLabel":"string"},"type":{"type":"string","enum":["https://api.x.com/2/problems/dm-recipient-not-accepting"],"isRequired":true,"uniqueKey":"oneOf.37.type","typeLabel":"enum\u003cstring>"},"status":{"type":"integer","uniqueKey":"oneOf.37.status","typeLabel":"integer"}},"uniqueKey":"oneOf.37","typeLabel":"object"},{"type":"object","required":["type","title","detail"],"properties":{"detail":{"type":"string","isRequired":true,"uniqueKey":"oneOf.38.detail","typeLabel":"string"},"title":{"type":"string","isRequired":true,"uniqueKey":"oneOf.38.title","typeLabel":"string"},"type":{"type":"string","enum":["https://api.x.com/2/problems/dm-recipient-not-found"],"isRequired":true,"uniqueKey":"oneOf.38.type","typeLabel":"enum\u003cstring>"},"status":{"type":"integer","uniqueKey":"oneOf.38.status","typeLabel":"integer"}},"uniqueKey":"oneOf.38","typeLabel":"object"},{"type":"object","required":["type","title","detail"],"properties":{"detail":{"type":"string","isRequired":true,"uniqueKey":"oneOf.39.detail","typeLabel":"string"},"title":{"type":"string","isRequired":true,"uniqueKey":"oneOf.39.title","typeLabel":"string"},"type":{"type":"string","enum":["https://api.x.com/2/problems/dm-recipient-restricts-groups"],"isRequired":true,"uniqueKey":"oneOf.39.type","typeLabel":"enum\u003cstring>"},"status":{"type":"integer","uniqueKey":"oneOf.39.status","typeLabel":"integer"}},"uniqueKey":"oneOf.39","typeLabel":"object"},{"type":"object","required":["type","title","detail"],"properties":{"detail":{"type":"string","isRequired":true,"uniqueKey":"oneOf.40.detail","typeLabel":"string"},"title":{"type":"string","isRequired":true,"uniqueKey":"oneOf.40.title","typeLabel":"string"},"type":{"type":"string","enum":["https://api.x.com/2/problems/dm-recipient-unavailable"],"isRequired":true,"uniqueKey":"oneOf.40.type","typeLabel":"enum\u003cstring>"},"status":{"type":"integer","uniqueKey":"oneOf.40.status","typeLabel":"integer"}},"uniqueKey":"oneOf.40","typeLabel":"object"},{"type":"object","required":["type","title","detail"],"properties":{"detail":{"type":"string","isRequired":true,"uniqueKey":"oneOf.41.detail","typeLabel":"string"},"title":{"type":"string","isRequired":true,"uniqueKey":"oneOf.41.title","typeLabel":"string"},"type":{"type":"string","enum":["https://api.x.com/2/problems/dm-request-in-progress"],"isRequired":true,"uniqueKey":"oneOf.41.type","typeLabel":"enum\u003cstring>"},"status":{"type":"integer","uniqueKey":"oneOf.41.status","typeLabel":"integer"}},"uniqueKey":"oneOf.41","typeLabel":"object"},{"type":"object","required":["type","title","detail"],"properties":{"detail":{"type":"string","isRequired":true,"uniqueKey":"oneOf.42.detail","typeLabel":"string"},"title":{"type":"string","isRequired":true,"uniqueKey":"oneOf.42.title","typeLabel":"string"},"type":{"type":"string","enum":["https://api.x.com/2/problems/dm-safety-limited"],"isRequired":true,"uniqueKey":"oneOf.42.type","typeLabel":"enum\u003cstring>"},"status":{"type":"integer","uniqueKey":"oneOf.42.status","typeLabel":"integer"}},"uniqueKey":"oneOf.42","typeLabel":"object"},{"type":"object","required":["type","title","detail"],"properties":{"detail":{"type":"string","isRequired":true,"uniqueKey":"oneOf.43.detail","typeLabel":"string"},"title":{"type":"string","isRequired":true,"uniqueKey":"oneOf.43.title","typeLabel":"string"},"type":{"type":"string","enum":["https://api.x.com/2/problems/dm-safety-rejected"],"isRequired":true,"uniqueKey":"oneOf.43.type","typeLabel":"enum\u003cstring>"},"status":{"type":"integer","uniqueKey":"oneOf.43.status","typeLabel":"integer"}},"uniqueKey":"oneOf.43","typeLabel":"object"},{"type":"object","required":["type","title","detail"],"properties":{"detail":{"type":"string","isRequired":true,"uniqueKey":"oneOf.44.detail","typeLabel":"string"},"title":{"type":"string","isRequired":true,"uniqueKey":"oneOf.44.title","typeLabel":"string"},"type":{"type":"string","enum":["https://api.x.com/2/problems/dm-sender-blocks-recipient"],"isRequired":true,"uniqueKey":"oneOf.44.type","typeLabel":"enum\u003cstring>"},"status":{"type":"integer","uniqueKey":"oneOf.44.status","typeLabel":"integer"}},"uniqueKey":"oneOf.44","typeLabel":"object"},{"type":"object","required":["type","title","detail"],"properties":{"detail":{"type":"string","isRequired":true,"uniqueKey":"oneOf.45.detail","typeLabel":"string"},"title":{"type":"string","isRequired":true,"uniqueKey":"oneOf.45.title","typeLabel":"string"},"type":{"type":"string","enum":["https://api.x.com/2/problems/dm-sender-declined-dms"],"isRequired":true,"uniqueKey":"oneOf.45.type","typeLabel":"enum\u003cstring>"},"status":{"type":"integer","uniqueKey":"oneOf.45.status","typeLabel":"integer"}},"uniqueKey":"oneOf.45","typeLabel":"object"},{"type":"object","required":["type","title","detail"],"properties":{"detail":{"type":"string","isRequired":true,"uniqueKey":"oneOf.46.detail","typeLabel":"string"},"title":{"type":"string","isRequired":true,"uniqueKey":"oneOf.46.title","typeLabel":"string"},"type":{"type":"string","enum":["https://api.x.com/2/problems/dm-sender-dms-closed"],"isRequired":true,"uniqueKey":"oneOf.46.type","typeLabel":"enum\u003cstring>"},"status":{"type":"integer","uniqueKey":"oneOf.46.status","typeLabel":"integer"}},"uniqueKey":"oneOf.46","typeLabel":"object"},{"type":"object","required":["type","title","detail"],"properties":{"detail":{"type":"string","isRequired":true,"uniqueKey":"oneOf.47.detail","typeLabel":"string"},"title":{"type":"string","isRequired":true,"uniqueKey":"oneOf.47.title","typeLabel":"string"},"type":{"type":"string","enum":["https://api.x.com/2/problems/dm-sender-encrypted-unavailable"],"isRequired":true,"uniqueKey":"oneOf.47.type","typeLabel":"enum\u003cstring>"},"status":{"type":"integer","uniqueKey":"oneOf.47.status","typeLabel":"integer"}},"uniqueKey":"oneOf.47","typeLabel":"object"},{"type":"object","required":["type","title","detail"],"properties":{"detail":{"type":"string","isRequired":true,"uniqueKey":"oneOf.48.detail","typeLabel":"string"},"title":{"type":"string","isRequired":true,"uniqueKey":"oneOf.48.title","typeLabel":"string"},"type":{"type":"string","enum":["https://api.x.com/2/problems/dm-sender-not-in-conversation"],"isRequired":true,"uniqueKey":"oneOf.48.type","typeLabel":"enum\u003cstring>"},"status":{"type":"integer","uniqueKey":"oneOf.48.status","typeLabel":"integer"}},"uniqueKey":"oneOf.48","typeLabel":"object"},{"type":"object","required":["type","title","detail"],"properties":{"detail":{"type":"string","isRequired":true,"uniqueKey":"oneOf.49.detail","typeLabel":"string"},"title":{"type":"string","isRequired":true,"uniqueKey":"oneOf.49.title","typeLabel":"string"},"type":{"type":"string","enum":["https://api.x.com/2/problems/dm-sender-not-permitted"],"isRequired":true,"uniqueKey":"oneOf.49.type","typeLabel":"enum\u003cstring>"},"status":{"type":"integer","uniqueKey":"oneOf.49.status","typeLabel":"integer"}},"uniqueKey":"oneOf.49","typeLabel":"object"},{"type":"object","required":["type","title","detail"],"properties":{"detail":{"type":"string","isRequired":true,"uniqueKey":"oneOf.50.detail","typeLabel":"string"},"title":{"type":"string","isRequired":true,"uniqueKey":"oneOf.50.title","typeLabel":"string"},"type":{"type":"string","enum":["https://api.x.com/2/problems/dm-sender-not-verified"],"isRequired":true,"uniqueKey":"oneOf.50.type","typeLabel":"enum\u003cstring>"},"status":{"type":"integer","uniqueKey":"oneOf.50.status","typeLabel":"integer"}},"uniqueKey":"oneOf.50","typeLabel":"object"},{"type":"object","required":["type","title","detail"],"properties":{"detail":{"type":"string","isRequired":true,"uniqueKey":"oneOf.51.detail","typeLabel":"string"},"title":{"type":"string","isRequired":true,"uniqueKey":"oneOf.51.title","typeLabel":"string"},"type":{"type":"string","enum":["https://api.x.com/2/problems/dm-sender-phone-required"],"isRequired":true,"uniqueKey":"oneOf.51.type","typeLabel":"enum\u003cstring>"},"status":{"type":"integer","uniqueKey":"oneOf.51.status","typeLabel":"integer"}},"uniqueKey":"oneOf.51","typeLabel":"object"},{"type":"object","required":["type","title","detail"],"properties":{"detail":{"type":"string","isRequired":true,"uniqueKey":"oneOf.52.detail","typeLabel":"string"},"title":{"type":"string","isRequired":true,"uniqueKey":"oneOf.52.title","typeLabel":"string"},"type":{"type":"string","enum":["https://api.x.com/2/problems/dm-sender-read-only"],"isRequired":true,"uniqueKey":"oneOf.52.type","typeLabel":"enum\u003cstring>"},"status":{"type":"integer","uniqueKey":"oneOf.52.status","typeLabel":"integer"}},"uniqueKey":"oneOf.52","typeLabel":"object"},{"type":"object","required":["type","title","detail"],"properties":{"detail":{"type":"string","isRequired":true,"uniqueKey":"oneOf.53.detail","typeLabel":"string"},"title":{"type":"string","isRequired":true,"uniqueKey":"oneOf.53.title","typeLabel":"string"},"type":{"type":"string","enum":["https://api.x.com/2/problems/dm-sender-unavailable"],"isRequired":true,"uniqueKey":"oneOf.53.type","typeLabel":"enum\u003cstring>"},"status":{"type":"integer","uniqueKey":"oneOf.53.status","typeLabel":"integer"}},"uniqueKey":"oneOf.53","typeLabel":"object"},{"type":"object","required":["type","title","detail"],"properties":{"detail":{"type":"string","isRequired":true,"uniqueKey":"oneOf.54.detail","typeLabel":"string"},"title":{"type":"string","isRequired":true,"uniqueKey":"oneOf.54.title","typeLabel":"string"},"type":{"type":"string","enum":["https://api.x.com/2/problems/dm-text-empty"],"isRequired":true,"uniqueKey":"oneOf.54.type","typeLabel":"enum\u003cstring>"},"status":{"type":"integer","uniqueKey":"oneOf.54.status","typeLabel":"integer"}},"uniqueKey":"oneOf.54","typeLabel":"object"},{"type":"object","required":["type","title","detail"],"properties":{"detail":{"type":"string","isRequired":true,"uniqueKey":"oneOf.55.detail","typeLabel":"string"},"title":{"type":"string","isRequired":true,"uniqueKey":"oneOf.55.title","typeLabel":"string"},"type":{"type":"string","enum":["https://api.x.com/2/problems/dm-text-too-long"],"isRequired":true,"uniqueKey":"oneOf.55.type","typeLabel":"enum\u003cstring>"},"status":{"type":"integer","uniqueKey":"oneOf.55.status","typeLabel":"integer"}},"uniqueKey":"oneOf.55","typeLabel":"object"},{"type":"object","required":["type","title","detail"],"properties":{"detail":{"type":"string","isRequired":true,"uniqueKey":"oneOf.56.detail","typeLabel":"string"},"title":{"type":"string","isRequired":true,"uniqueKey":"oneOf.56.title","typeLabel":"string"},"type":{"type":"string","enum":["https://api.x.com/2/problems/dm-too-few-participants"],"isRequired":true,"uniqueKey":"oneOf.56.type","typeLabel":"enum\u003cstring>"},"status":{"type":"integer","uniqueKey":"oneOf.56.status","typeLabel":"integer"}},"uniqueKey":"oneOf.56","typeLabel":"object"},{"type":"object","required":["type","title","detail"],"properties":{"detail":{"type":"string","isRequired":true,"uniqueKey":"oneOf.57.detail","typeLabel":"string"},"title":{"type":"string","isRequired":true,"uniqueKey":"oneOf.57.title","typeLabel":"string"},"type":{"type":"string","enum":["https://api.x.com/2/problems/dm-too-many-participants"],"isRequired":true,"uniqueKey":"oneOf.57.type","typeLabel":"enum\u003cstring>"},"status":{"type":"integer","uniqueKey":"oneOf.57.status","typeLabel":"integer"}},"uniqueKey":"oneOf.57","typeLabel":"object"},{"type":"object","required":["type","title","detail"],"properties":{"detail":{"type":"string","isRequired":true,"uniqueKey":"oneOf.58.detail","typeLabel":"string"},"title":{"type":"string","isRequired":true,"uniqueKey":"oneOf.58.title","typeLabel":"string"},"type":{"type":"string","enum":["https://api.x.com/2/problems/dm-unsupported-message"],"isRequired":true,"uniqueKey":"oneOf.58.type","typeLabel":"enum\u003cstring>"},"status":{"type":"integer","uniqueKey":"oneOf.58.status","typeLabel":"integer"}},"uniqueKey":"oneOf.58","typeLabel":"object"},{"type":"object","required":["type","title","value"],"properties":{"title":{"type":"string","isRequired":true,"uniqueKey":"oneOf.59.title","typeLabel":"string"},"type":{"type":"string","enum":["https://api.twitter.com/2/problems/duplicate-rules"],"isRequired":true,"uniqueKey":"oneOf.59.type","typeLabel":"enum\u003cstring>"},"value":{"type":"string","isRequired":true,"uniqueKey":"oneOf.59.value","typeLabel":"string"},"detail":{"type":"string","uniqueKey":"oneOf.59.detail","typeLabel":"string"},"id":{"type":"string","uniqueKey":"oneOf.59.id","typeLabel":"string"}},"uniqueKey":"oneOf.59","typeLabel":"object"},{"type":"object","required":["type","title","details"],"properties":{"details":{"type":"array","items":{"type":"string","uniqueKey":"oneOf.60.details.items.[INDEX]","typeLabel":"string"},"isRequired":true,"uniqueKey":"oneOf.60.details","typeLabel":"string[]"},"title":{"type":"string","isRequired":true,"uniqueKey":"oneOf.60.title","typeLabel":"string"},"type":{"type":"string","enum":["https://api.twitter.com/2/problems/invalid-rules"],"isRequired":true,"uniqueKey":"oneOf.60.type","typeLabel":"enum\u003cstring>"},"detail":{"type":"string","uniqueKey":"oneOf.60.detail","typeLabel":"string"},"value":{"type":"string","uniqueKey":"oneOf.60.value","typeLabel":"string"}},"uniqueKey":"oneOf.60","typeLabel":"object"}],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"detail":"\u003cstring>","resource_type":"\u003cstring>","title":"\u003cstring>","type":"https://api.x.com/2/problems/resource-not-found","parameter":"\u003cstring>","resource_id":"\u003cstring>","status":123,"value":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"3c91e28c-c8c4-4667-ba75-5fe7e67b45ba":{"OAuth2UserToken":{"type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"https://api.x.com/2/oauth2/authorize","tokenUrl":"https://api.x.com/2/oauth2/token","scopes":{"block.read":"View accounts you have blocked.","block.write":"Block and unblock accounts on your behalf.","bookmark.read":"Read your bookmarked Posts.","bookmark.write":"Create and delete your bookmarks.","broadcast.read":"View your live broadcasts and their chat.","broadcast.write":"Manage your live broadcasts and send chat messages on your behalf.","calls.join":"Join X calls for you, and listen, speak, send chat messages, and admit people who ask to join.","calls.read":"View your X calls and the calls on your calendar.","calls.write":"Start, schedule, change, and cancel X calls for you, and answer invitations.","developer.read":"View your developer accounts, apps, and settings.","developer.write":"Create and manage your X Developer Platform account.","dm.read":"Read all your Direct Messages.","dm.write":"Send and manage your Direct Messages.","follows.read":"View accounts you follow and accounts following you.","follows.write":"Follow and unfollow accounts on your behalf.","like.read":"View Posts you have liked and likes you can see.","like.write":"Like and unlike Posts on your behalf.","list.read":"View Lists, members, and followers of Lists you created or are a member of, including private Lists.","list.write":"Create and manage Lists on your behalf.","media.library.read":"View your media library, its analytics, and its monetization settings.","media.library.write":"Add media to your media library and manage its monetization settings.","media.write":"Upload media, such as photos and videos, on your behalf.","mute.read":"View accounts you have muted.","mute.write":"Mute and unmute accounts on your behalf.","offline.access":"Request a refresh token for the app.","saved_search.read":"View your saved searches.","saved_search.write":"Create and delete saved searches for you.","settings.read":"View your account settings.","settings.write":"Change your account settings for you.","space.read":"View all Spaces you have access to.","timeline.read":"View all Custom Timelines you can see.","tweet.moderate.write":"Hide and unhide replies to your posts.","tweet.read":"View all posts you can see, including those from protected accounts.","tweet.write":"Create and repost on your behalf.","users.read":"View any account you can see, including protected accounts.","users.write":"Update your profile, including your name, bio, profile image, and banner."}}},"scopes":["tweet.read","tweet.write","users.read"],"schemeName":"OAuth2UserToken"}},"3713afcf-d3de-41d7-b797-32bba3613126":{"UserToken":{"type":"http","scheme":"OAuth","scopes":[],"schemeName":"UserToken"}}},"servers":{"c4d7cbb3-a51b-43a1-bbb6-71792a3f3564":{"description":"X API","url":"https://api.x.com"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"https://api.x.com/2/oauth2/authorize","tokenUrl":"https://api.x.com/2/oauth2/token","scopes":{"block.read":"View accounts you have blocked.","block.write":"Block and unblock accounts on your behalf.","bookmark.read":"Read your bookmarked Posts.","bookmark.write":"Create and delete your bookmarks.","broadcast.read":"View your live broadcasts and their chat.","broadcast.write":"Manage your live broadcasts and send chat messages on your behalf.","calls.join":"Join X calls for you, and listen, speak, send chat messages, and admit people who ask to join.","calls.read":"View your X calls and the calls on your calendar.","calls.write":"Start, schedule, change, and cancel X calls for you, and answer invitations.","developer.read":"View your developer accounts, apps, and settings.","developer.write":"Create and manage your X Developer Platform account.","dm.read":"Read all your Direct Messages.","dm.write":"Send and manage your Direct Messages.","follows.read":"View accounts you follow and accounts following you.","follows.write":"Follow and unfollow accounts on your behalf.","like.read":"View Posts you have liked and likes you can see.","like.write":"Like and unlike Posts on your behalf.","list.read":"View Lists, members, and followers of Lists you created or are a member of, including private Lists.","list.write":"Create and manage Lists on your behalf.","media.library.read":"View your media library, its analytics, and its monetization settings.","media.library.write":"Add media to your media library and manage its monetization settings.","media.write":"Upload media, such as photos and videos, on your behalf.","mute.read":"View accounts you have muted.","mute.write":"Mute and unmute accounts on your behalf.","offline.access":"Request a refresh token for the app.","saved_search.read":"View your saved searches.","saved_search.write":"Create and delete saved searches for you.","settings.read":"View your account settings.","settings.write":"Change your account settings for you.","space.read":"View all Spaces you have access to.","timeline.read":"View all Custom Timelines you can see.","tweet.moderate.write":"Hide and unhide replies to your posts.","tweet.read":"View all posts you can see, including those from protected accounts.","tweet.write":"Create and repost on your behalf.","users.read":"View any account you can see, including protected accounts.","users.write":"Update your profile, including your name, bio, profile image, and banner."}}},"scopes":["tweet.read","tweet.write","users.read"],"schemeName":"OAuth2UserToken"},"schema":{"title":"OAuth2 Auth","type":"string","isRequired":true,"description":"The access token received from the authorization server in the OAuth 2.0 flow.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"OAuth2UserToken","name":"Authorization"}],"title":"OAuth2UserToken"},{"schemes":[{"scheme":{"type":"http","scheme":"OAuth","scopes":[],"schemeName":"UserToken"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Bearer authentication header of the form `Bearer \u003ctoken>`, where `\u003ctoken>` is your auth token.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"UserToken","name":"Authorization"}],"title":"UserToken"}]},"originalFileLocation":"openapi.json"},"subdomain":"x-preview","siteName":"X","title":"Create or Edit Post - X","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-10T22:53:30.021Z","originalFileLocation":"x-api/posts/create-posts.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=\"dark\";if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"dark\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Creates a new Post for the authenticated user, or edits an existing Post when edit_options are provided. Media in media.media_ids is attached in the order given; get the ids by uploading each image with Upload Media, or a video with Initialize Media Upload. Supports paid partnership disclosure via the paid_partnership field. To share a clip of another Post\u0026#x27;s video, set clip to that Post\u0026#x27;s id and a range of 5 to 60 seconds.\">\u003cmeta data-mint-head name=\"application-name\" content=\"X\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003cmeta data-mint-head name=\"robots\" content=\"index, follow\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/x-preview/FsnFMtl8dbNRWPu8/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/x-preview/FsnFMtl8dbNRWPu8/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/x-preview/FsnFMtl8dbNRWPu8/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/x-preview/FsnFMtl8dbNRWPu8/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/x-preview/FsnFMtl8dbNRWPu8/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/x-preview/FsnFMtl8dbNRWPu8/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/x-preview/FsnFMtl8dbNRWPu8/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/x-preview/FsnFMtl8dbNRWPu8/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/x-preview/FsnFMtl8dbNRWPu8/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Create or Edit Post - X\">\u003cmeta data-mint-head property=\"og:description\" content=\"Creates a new Post for the authenticated user, or edits an existing Post when edit_options are provided. Media in media.media_ids is attached in the order given; get the ids by uploading each image with Upload Media, or a video with Initialize Media Upload. Supports paid partnership disclosure via the paid_partnership field. To share a clip of another Post\u0026#x27;s video, set clip to that Post\u0026#x27;s id and a range of 5 to 60 seconds.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"X Developer Platform\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.x.com/x-api/posts/create-posts\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://docs.x.com/images/og-default.png\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Create or Edit Post - X\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Creates a new Post for the authenticated user, or edits an existing Post when edit_options are provided. Media in media.media_ids is attached in the order given; get the ids by uploading each image with Upload Media, or a video with Initialize Media Upload. Supports paid partnership disclosure via the paid_partnership field. To share a clip of another Post\u0026#x27;s video, set clip to that Post\u0026#x27;s id and a range of 5 to 60 seconds.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://docs.x.com/images/og-default.png\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/x-preview/FsnFMtl8dbNRWPu8/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"X\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#0D0D0D\">\u003cmeta data-mint-head name=\"og:locale\" content=\"en_US\">\u003cmeta data-mint-head name=\"author\" content=\"X Developer Platform\">\u003cmeta data-mint-head name=\"language\" content=\"en\">\u003cmeta data-mint-head name=\"googlebot\" content=\"index, follow\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.x.com/x-api/posts/create-posts\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/x-api/posts/create-posts.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.x.com/#organization\",\"name\":\"X\",\"url\":\"https://docs.x.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/x-preview/CX6FNhUUR8mtNZ97/logo/light.svg?fit=max\u0026auto=format\u0026n=CX6FNhUUR8mtNZ97\u0026q=85\u0026s=b2e6f2ff399e1bc5cd0c588f9644983d\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.x.com#website\",\"name\":\"X\",\"url\":\"https://docs.x.com\",\"publisher\":{\"@id\":\"https://docs.x.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.x.com/x-api/posts/create-posts#webpage\",\"url\":\"https://docs.x.com/x-api/posts/create-posts\",\"name\":\"Create or Edit Post\",\"description\":\"Creates a new Post for the authenticated user, or edits an existing Post when edit_options are provided. Media in media.media_ids is attached in the order given; get the ids by uploading each image with Upload Media, or a video with Initialize Media Upload. Supports paid partnership disclosure via the paid_partnership field. To share a clip of another Post's video, set clip to that Post's id and a range of 5 to 60 seconds.\",\"dateModified\":\"2026-11-10T22:53:30.021Z\",\"isPartOf\":{\"@id\":\"https://docs.x.com#website\"}},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.x.com/x-api/posts/create-posts#apireference\",\"headline\":\"Create or Edit Post\",\"name\":\"Create or Edit Post\",\"description\":\"Creates a new Post for the authenticated user, or edits an existing Post when edit_options are provided. Media in media.media_ids is attached in the order given; get the ids by uploading each image with Upload Media, or a video with Initialize Media Upload. Supports paid partnership disclosure via the paid_partnership field. To share a clip of another Post's video, set clip to that Post's id and a range of 5 to 60 seconds.\",\"url\":\"https://docs.x.com/x-api/posts/create-posts\",\"mainEntityOfPage\":{\"@id\":\"https://docs.x.com/x-api/posts/create-posts#webpage\"},\"image\":\"https://docs.x.com/images/og-default.png\",\"dateModified\":\"2026-11-10T22:53:30.021Z\",\"publisher\":{\"@id\":\"https://docs.x.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.x.com#website\"}}]}\u003c/script>","agentPointerHref":"/x-api/posts/create-posts.md","siteName":"X","nav":{"global":{"anchors":[{"anchor":"Developer Console","icon":"https://mintlify.s3.us-west-1.amazonaws.com/x-preview/icons/xds/icon-console.svg","href":"https://developer.x.com/en/portal/petition/essential/basic-info"},{"anchor":"Forums","icon":"https://mintlify.s3.us-west-1.amazonaws.com/x-preview/icons/xds/icon-chat.svg","href":"https://devcommunity.x.com"},{"anchor":"GitHub","icon":"github","href":"https://github.com/xdevplatform"}]},"products":[{"product":"X API","tabs":[{"tab":"Documentation","groups":[{"group":"Getting Started","pages":[{"title":"X Developer Platform","sidebarTitle":"Overview","mode":"wide","icon":"house","href":"/overview"},{"title":"Developer Guidelines","sidebarTitle":"Developer Guidelines","icon":"scale-balanced","href":"/developer-guidelines"},{"title":"What to Build","sidebarTitle":"What to Build","icon":"lightbulb","href":"/what-to-build"},{"title":"Make Your First Request","sidebarTitle":"Make Your First Request","icon":"rocket","href":"/make-your-first-request"},{"group":"Tools \u0026 Libraries","icon":"/icons/xds/icon-wrench.svg","pages":[{"title":"Tools \u0026 Libraries","sidebarTitle":"Overview","href":"/tools-and-libraries"},{"title":"xurl — curl-style command line client for the X API","sidebarTitle":"CLI (xurl)","href":"/tools/xurl"},{"group":"SDKs (XDKs)","pages":[{"title":"Python XDK","sidebarTitle":"Python","href":"/tools/python-xdk"},{"title":"TypeScript XDK","sidebarTitle":"TypeScript","href":"/tools/typescript-xdk"},{"title":"Java XDK","sidebarTitle":"Java","href":"/tools/java-xdk"},{"title":"C# / .NET XDK","sidebarTitle":"C#","href":"/tools/csharp-xdk"}]}]},{"group":"Agent Resources","icon":"/icons/xds/icon-ai-agents.svg","pages":[{"title":"Agent Resources","sidebarTitle":"Overview","href":"/tools/ai"},{"title":"llms.txt \u0026 llms-full.txt","sidebarTitle":"llms.txt","href":"/tools/llms-txt"},{"title":"skill.md","sidebarTitle":"skill.md","href":"/tools/skill-md"},{"title":"MCP servers for the X API and X developer docs","sidebarTitle":"MCP","href":"/tools/mcp"}]}]},{"group":"Products","pages":[{"group":"X API","expanded":true,"pages":[{"group":"Pay-per-use","pages":[{"title":"X API","sidebarTitle":"Introduction","mode":"wide","href":"/x-api/introduction"},{"title":"X API pay-per-usage pricing and credits","sidebarTitle":"Pricing","href":"/x-api/getting-started/pricing"},{"title":"Free credit incentives for X API pay-per-use accounts","sidebarTitle":"Free credits","href":"/x-api/getting-started/free-credits"},{"title":"Getting Access","sidebarTitle":"Getting Access","href":"/x-api/getting-started/getting-access"}]},{"group":"Enterprise","pages":[{"title":"X Enterprise API introduction and product overview","sidebarTitle":"Introduction","mode":"wide","href":"/enterprise-api/introduction"},{"title":"Enterprise API pricing and custom plans","sidebarTitle":"Pricing","href":"/enterprise-api/getting-started/pricing"},{"title":"Getting enterprise access","sidebarTitle":"Getting access","href":"/enterprise-api/getting-started/getting-access"}]}]}]},{"group":"Fundamentals","pages":[{"title":"Apps","sidebarTitle":"Apps","icon":"cube","href":"/fundamentals/developer-apps"},{"title":"Developer Console","sidebarTitle":"Developer Console","icon":"grid-2","href":"/fundamentals/developer-portal"},{"group":"Authentication","icon":"/icons/xds/icon-key.svg","pages":[{"title":"Authentication","sidebarTitle":"Overview","href":"/fundamentals/authentication/overview"},{"group":"Guides","pages":[{"title":"Log in with X","href":"/fundamentals/authentication/guides/log-in-with-x"},{"title":"Best practices","href":"/fundamentals/authentication/guides/authentication-best-practices"},{"title":"Connection to X API using TLS","sidebarTitle":"TLS","href":"/fundamentals/authentication/guides/tls"},{"title":"X API v2 authentication mapping","sidebarTitle":"Endpoint mapping","href":"/fundamentals/authentication/guides/v2-authentication-mapping"}]},{"group":"OAuth 1.0a","pages":[{"title":"API Key and Secret","sidebarTitle":"API Key and Secret","href":"/fundamentals/authentication/oauth-1-0a/api-key-and-secret"},{"title":"Obtaining Access Tokens using 3-legged OAuth flow","sidebarTitle":"User Access Tokens (3-legged OAuth flow)","href":"/fundamentals/authentication/oauth-1-0a/obtaining-user-access-tokens"},{"title":"Authorizing a request","sidebarTitle":"Authorizing a request","href":"/fundamentals/authentication/oauth-1-0a/authorizing-a-request"},{"title":"OAuth Echo","sidebarTitle":"OAuth Echo","href":"/fundamentals/authentication/oauth-1-0a/oauth-echo"},{"title":"PIN-based authorization","sidebarTitle":"PIN-based OAuth","href":"/fundamentals/authentication/oauth-1-0a/pin-based-oauth"},{"title":"Creating a signature","sidebarTitle":"Creating a signature","href":"/fundamentals/authentication/oauth-1-0a/creating-a-signature"},{"title":"Percent encoding parameters","sidebarTitle":"Percent encoding parameters","href":"/fundamentals/authentication/oauth-1-0a/percent-encoding-parameters"}]},{"group":"OAuth 2.0","pages":[{"title":"OAuth 2.0","sidebarTitle":"Overview","href":"/fundamentals/authentication/oauth-2-0/overview"},{"title":"App only authentication and OAuth 2.0 Bearer Token","sidebarTitle":"OAuth 2.0 App-Only (Bearer Token)","href":"/fundamentals/authentication/oauth-2-0/application-only"},{"title":"Using and generating an app-only Bearer Token","sidebarTitle":"Generating and using app-only Bearer Tokens","href":"/fundamentals/authentication/oauth-2-0/bearer-tokens"},{"title":"OAuth 2.0 Authorization Code Flow with PKCE","sidebarTitle":"OAuth 2.0 Authorization Code Flow with PKCE","href":"/fundamentals/authentication/oauth-2-0/authorization-code"},{"title":"OAuth 2.0 Authorization Code Flow with PKCE","sidebarTitle":"OAuth 2.0 Making requests on behalf of users","href":"/fundamentals/authentication/oauth-2-0/user-access-token"},{"title":"Migrate from OAuth 1.0a to OAuth 2.0","sidebarTitle":"Migrating from OAuth 1.0a","href":"/fundamentals/authentication/oauth-2-0/oauth-1-0a-token-exchange"}]},{"title":"Basic authentication","sidebarTitle":"Basic authentication","href":"/fundamentals/authentication/basic-auth"},{"title":"OAuth FAQ","sidebarTitle":"FAQ","href":"/fundamentals/authentication/faq"},{"title":"OAuth API reference index","sidebarTitle":"API reference","href":"/fundamentals/authentication/api-reference"}]},{"title":"Counting Characters","sidebarTitle":"Counting Characters","icon":"text-size","href":"/fundamentals/counting-characters"},{"title":"Rate Limits","sidebarTitle":"Rate Limits","icon":"gauge-high","href":"/fundamentals/rate-limits"},{"title":"X IDs","sidebarTitle":"X IDs","icon":"fingerprint","href":"/fundamentals/x-ids"},{"title":"Security","sidebarTitle":"Security","icon":"shield-halved","href":"/fundamentals/security"},{"title":"IP Allowlist","sidebarTitle":"IP Allowlist","icon":"lock","href":"/fundamentals/ip-allowlist"}]},{"group":"Partners \u0026 Customers","pages":[{"title":"X Official Partner","sidebarTitle":"Partner Directory","href":"/enterprise/partner-directory"},{"title":"Enterprise data customers","sidebarTitle":"Customer Directory","href":"/enterprise/customer-directory"},{"title":"Success Stories","mode":"wide","href":"/success-stories"},{"group":"Request Access","pages":[{"title":"Enterprise Access Form","href":"/forms/enterprise-api-interest"},{"title":"Ads API Access Form","href":"/forms/ads-api-access"},{"title":"Government End User Request Form","href":"/forms/government-end-user-request"}]}]},{"group":"Resources","pages":[{"title":"Tutorials","mode":"wide","icon":"link","href":"/tutorials"},{"title":"List your app on the Exhibit","sidebarTitle":"Exhibit","icon":"grid-2","href":"/exhibit"},{"title":"Subscribe to developer news","sidebarTitle":"Newsletter","mode":"wide","icon":"envelope","href":"/newsletter"},{"title":"X Developer Platform Livestreams","sidebarTitle":"Livestreams","mode":"wide","icon":"video","href":"/livestreams"},{"title":"Billing support form","sidebarTitle":"Billing Support","icon":"headset","href":"/forms/billing-support"},{"title":"Policies and agreements","sidebarTitle":"Developer Terms","mode":"wide","icon":"gavel","href":"/developer-terms"}]}]},{"tab":"API Reference","dropdowns":[{"dropdown":"General","icon":"https://mintlify.s3.us-west-1.amazonaws.com/x-preview/icons/xds/icon-brackets.svg","groups":[{"group":"Overview","pages":[{"title":"X API Overview","sidebarTitle":"Overview","icon":"house","mode":"wide","href":"/x-api/overview"},{"group":"Fundamentals","pages":[{"group":"Data Dictionary","icon":"/icons/xds/icon-book.svg","pages":[{"title":"X API v2 data dictionary: Post, User, Space fields","sidebarTitle":"Overview","href":"/x-api/fundamentals/data-dictionary"},{"title":"Data Dictionary Reference","sidebarTitle":"Reference","href":"/x-api/fundamentals/data-dictionary/reference"}]},{"title":"Fields","sidebarTitle":"Fields","href":"/x-api/fundamentals/fields"},{"title":"Expansions","sidebarTitle":"Expansions","href":"/x-api/fundamentals/expansions"},{"title":"Post Annotations","sidebarTitle":"Annotations","href":"/x-api/fundamentals/post-annotations"},{"title":"Metrics","sidebarTitle":"Metrics","href":"/x-api/fundamentals/metrics"},{"title":"Conversation ID","sidebarTitle":"Conversation ID","href":"/x-api/fundamentals/conversation-id"},{"title":"Pagination","sidebarTitle":"Pagination","href":"/x-api/fundamentals/pagination"},{"title":"Versioning","sidebarTitle":"Versioning","href":"/x-api/fundamentals/versioning"},{"title":"API Consistency","sidebarTitle":"Consistency","href":"/x-api/fundamentals/consistency"},{"title":"X API Rate Limits","sidebarTitle":"Rate Limits","href":"/x-api/fundamentals/rate-limits"},{"title":"Usage and Billing","sidebarTitle":"Usage \u0026 Billing","href":"/x-api/fundamentals/post-cap"},{"title":"Edit Posts","sidebarTitle":"Edit Posts","href":"/x-api/fundamentals/edit-posts"},{"title":"Response Codes \u0026 Errors","sidebarTitle":"Response Codes","href":"/x-api/fundamentals/response-codes-and-errors"},{"group":"Streaming","pages":[{"title":"Consuming streaming data","sidebarTitle":"Consuming streaming data","href":"/x-api/fundamentals/consuming-streaming-data"},{"title":"Handling disconnections","sidebarTitle":"Handling disconnections","href":"/x-api/fundamentals/handling-disconnections"},{"title":"Handling high-volume capacity","sidebarTitle":"High volume capacity","href":"/x-api/fundamentals/high-volume-capacity"},{"title":"Recovery and redundancy","sidebarTitle":"Recovery and redundancy","href":"/x-api/fundamentals/recovery-and-redundancy"}]}]}]},{"group":"Posts","pages":[{"group":"Search","pages":[{"title":"Search Posts","sidebarTitle":"Introduction","href":"/x-api/posts/search/introduction"},{"group":"Guides","pages":[{"group":"Quickstart","pages":[{"title":"Recent Search Quickstart","sidebarTitle":"Recent Search","href":"/x-api/posts/search/quickstart/recent-search"},{"title":"Full-Archive Search Quickstart","sidebarTitle":"Full-Archive Search","href":"/x-api/posts/search/quickstart/full-archive-search"}]},{"group":"Integration guide","pages":[{"title":"Integration Guide","sidebarTitle":"Overview","href":"/x-api/posts/search/integrate/overview"},{"title":"Build a query","sidebarTitle":"Build a query","href":"/x-api/posts/search/integrate/build-a-query"},{"title":"Search Operators","sidebarTitle":"Operators","href":"/x-api/posts/search/integrate/operators"},{"title":"Pagination","sidebarTitle":"Pagination","href":"/x-api/posts/search/integrate/paginate"}]}]},{"openapi":"get /2/tweets/search/all","title":"Search All Posts","href":"/x-api/posts/search-all-posts"},{"openapi":"get /2/tweets/search/recent","title":"Search Recent Posts","href":"/x-api/posts/search-recent-posts"}]},{"group":"Post Counts","pages":[{"title":"Post Counts","sidebarTitle":"Introduction","href":"/x-api/posts/counts/introduction"},{"group":"Guides","pages":[{"group":"Quickstart","pages":[{"title":"Recent Post Counts","sidebarTitle":"Recent Post Counts","href":"/x-api/posts/counts/quickstart/recent-tweet-counts"},{"title":"Full-Archive Post Counts","sidebarTitle":"Full-Archive Post Counts","href":"/x-api/posts/counts/quickstart/full-archive-tweet-counts"}]},{"group":"Integration guide","pages":[{"title":"Overview","sidebarTitle":"Overview","href":"/x-api/posts/counts/integrate/overview"},{"title":"Build a query","sidebarTitle":"Build a query","href":"/x-api/posts/counts/integrate/build-a-query"}]}]},{"openapi":"get /2/tweets/counts/all","title":"Get Count of All Posts","href":"/x-api/posts/get-count-of-all-posts"},{"openapi":"get /2/tweets/counts/recent","title":"Get Count of Recent Posts","href":"/x-api/posts/get-count-of-recent-posts"}]},{"group":"Filtered Stream","pages":[{"title":"Filtered Stream","sidebarTitle":"Introduction","href":"/x-api/posts/filtered-stream/introduction"},{"group":"Guides","pages":[{"title":"Quickstart","sidebarTitle":"Quickstart","href":"/x-api/posts/filtered-stream/quickstart"},{"group":"Integration guide","pages":[{"title":"Build a rule","sidebarTitle":"Build a rule","href":"/x-api/posts/filtered-stream/integrate/build-a-rule"},{"title":"Filtered Stream Operators","sidebarTitle":"Operators","href":"/x-api/posts/filtered-stream/integrate/operators"},{"title":"Matching Posts to Rules","sidebarTitle":"Matching Posts to Rules","href":"/x-api/posts/filtered-stream/integrate/matching-returned-tweets"},{"title":"Consuming streaming data","sidebarTitle":"Consuming streaming data","href":"/x-api/fundamentals/consuming-streaming-data"},{"title":"Handling disconnections","sidebarTitle":"Handling disconnections","href":"/x-api/fundamentals/handling-disconnections"},{"title":"Handling high-volume capacity","sidebarTitle":"High volume capacity","href":"/x-api/fundamentals/high-volume-capacity"},{"title":"Recovery and redundancy","sidebarTitle":"Recovery and redundancy","href":"/x-api/fundamentals/recovery-and-redundancy"}]}]},{"openapi":"get /2/tweets/search/stream","title":"Stream Filtered Posts","href":"/x-api/stream/stream-filtered-posts"},{"openapi":"get /2/tweets/search/stream/rules","title":"Get Stream Rules","href":"/x-api/stream/get-stream-rules"},{"openapi":"get /2/tweets/search/stream/rules/counts","title":"Get Stream Rule Counts","href":"/x-api/stream/get-stream-rule-counts"},{"openapi":"post /2/tweets/search/stream/rules","title":"Update Stream Rules","href":"/x-api/stream/update-stream-rules"}]},{"group":"Timelines","pages":[{"title":"Timelines","sidebarTitle":"Introduction","href":"/x-api/posts/timelines/introduction"},{"group":"Guides","pages":[{"group":"Quickstart","pages":[{"title":"Home Timeline Quickstart","sidebarTitle":"Home Timeline","href":"/x-api/posts/timelines/quickstart/reverse-chron-quickstart"},{"title":"User Mentions Timeline","sidebarTitle":"User Mentions","href":"/x-api/posts/timelines/quickstart/user-mention-quickstart"}]},{"title":"Integration Guide","sidebarTitle":"Integration Guide","href":"/x-api/posts/timelines/integrate"}]},{"openapi":"get /2/users/{id}/tweets","title":"Get Posts","href":"/x-api/users/get-posts"},{"openapi":"get /2/users/{id}/mentions","title":"Get Mentions","href":"/x-api/users/get-mentions"},{"openapi":"get /2/users/{id}/timelines/reverse_chronological","title":"Get Timeline","href":"/x-api/users/get-timeline"}]},{"group":"Post Lookup","pages":[{"title":"Post Lookup","sidebarTitle":"Introduction","href":"/x-api/posts/lookup/introduction"},{"group":"Guides","pages":[{"title":"Quickstart","sidebarTitle":"Quickstart","href":"/x-api/posts/lookup/quickstart"},{"title":"Integration Guide","sidebarTitle":"Integration Guide","href":"/x-api/posts/lookup/integrate"}]},{"openapi":"get /2/tweets","title":"Get Posts by IDs","href":"/x-api/posts/get-posts-by-ids"},{"openapi":"get /2/tweets/{id}","title":"Get Post by ID","href":"/x-api/posts/get-post-by-id"}]},{"group":"Bookmarks","pages":[{"title":"Bookmarks","sidebarTitle":"Introduction","href":"/x-api/posts/bookmarks/introduction"},{"group":"Guides","pages":[{"group":"Quickstart","pages":[{"title":"Bookmarks Lookup","sidebarTitle":"Bookmarks Lookup","href":"/x-api/posts/bookmarks/quickstart/bookmarks-lookup"},{"title":"Manage Bookmarks","sidebarTitle":"Manage Bookmarks","href":"/x-api/posts/bookmarks/quickstart/manage-bookmarks"}]},{"title":"Integration guide","sidebarTitle":"Integration guide","href":"/x-api/posts/bookmarks/integrate"}]},{"group":"Bookmark Folders","pages":[{"openapi":"get /2/users/{id}/bookmarks/folders","title":"Get Bookmark Folders","href":"/x-api/users/get-bookmark-folders"},{"openapi":"get /2/users/{id}/bookmarks/folders/{folder_id}","title":"Get Bookmarks by Folder ID","href":"/x-api/bookmarks/get-bookmarks-by-folder-id"}]},{"openapi":"get /2/users/{id}/bookmarks","title":"Get Bookmarks","href":"/x-api/users/get-bookmarks"},{"openapi":"post /2/users/{id}/bookmarks","title":"Create Bookmark","href":"/x-api/users/create-bookmark"},{"openapi":"delete /2/users/{id}/bookmarks/{tweet_id}","title":"Delete Bookmark","href":"/x-api/users/delete-bookmark"}]},{"group":"Manage Posts","pages":[{"title":"Manage Posts on the X API v2","sidebarTitle":"Introduction","href":"/x-api/posts/manage-tweets/introduction"},{"group":"Guides","pages":[{"title":"X API v2 manage Posts quickstart","sidebarTitle":"Quickstart","href":"/x-api/posts/manage-tweets/quickstart"},{"title":"Integration guide","sidebarTitle":"Integration guide","href":"/x-api/posts/manage-tweets/integrate"}]},{"openapi":"post /2/tweets","title":"Create or Edit Post","href":"/x-api/posts/create-post"},{"openapi":"delete /2/tweets/{id}","title":"Delete Post","href":"/x-api/posts/delete-post"}]},{"group":"Reposts","pages":[{"title":"Retweets","sidebarTitle":"Introduction","href":"/x-api/posts/retweets/introduction"},{"group":"Guides","pages":[{"group":"Quickstart","pages":[{"title":"Retweets Lookup","sidebarTitle":"Retweets Lookup","href":"/x-api/posts/retweets/quickstart/retweets-lookup"},{"title":"Manage Retweets","sidebarTitle":"Manage Retweets","href":"/x-api/posts/retweets/quickstart/manage-retweets"},{"title":"Retweets of Me","sidebarTitle":"Retweets of Me","href":"/x-api/posts/retweets/quickstart/retweets-of-me"}]},{"title":"Integration guide","sidebarTitle":"Integration guide","href":"/x-api/posts/retweets/integrate"}]},{"openapi":"get /2/tweets/{id}/retweeted_by","title":"Get Reposted By","href":"/x-api/posts/get-reposted-by"},{"openapi":"post /2/users/{id}/retweets","title":"Repost Post","href":"/x-api/users/repost-post"},{"openapi":"delete /2/users/{id}/retweets/{source_tweet_id}","title":"Unrepost Post","href":"/x-api/users/unrepost-post"},{"openapi":"get /2/tweets/{id}/retweets","title":"Get Reposts","href":"/x-api/posts/get-reposts"},{"openapi":"get /2/users/reposts_of_me","title":"Get Reposts of Me","href":"/x-api/users/get-reposts-of-me"}]},{"group":"Quotes","pages":[{"title":"Quote Posts","sidebarTitle":"Introduction","href":"/x-api/posts/quote-tweets/introduction"},{"group":"Guides","pages":[{"title":"Quickstart","sidebarTitle":"Quickstart","href":"/x-api/posts/quote-tweets/quickstart"}]},{"openapi":"get /2/tweets/{id}/quote_tweets","title":"Get Quoted Posts","href":"/x-api/posts/get-quoted-posts"}]},{"group":"Hide replies","pages":[{"title":"Hide Replies","sidebarTitle":"Introduction","href":"/x-api/posts/hide-replies/introduction"},{"group":"Guides","pages":[{"title":"Quickstart","sidebarTitle":"Quickstart","href":"/x-api/posts/hide-replies/quickstart"},{"group":"Integration guide","pages":[{"title":"Manage replies by topic","sidebarTitle":"Manage replies by topic","href":"/x-api/posts/hide-replies/integrate/manage-replies-by-topic"},{"title":"Manage replies in real time with Grok","sidebarTitle":"Manage replies in real time","href":"/x-api/posts/hide-replies/integrate/manage-replies-in-realtime"}]}]},{"openapi":"put /2/tweets/{tweet_id}/hidden","title":"Hide Reply","href":"/x-api/posts/hide-reply"}]}]},{"group":"Articles","pages":[{"title":"Articles endpoints for long-form Posts on the X API","sidebarTitle":"Introduction","href":"/x-api/articles/introduction"},{"openapi":"post /2/articles/draft","title":"Create Draft Article","href":"/x-api/articles/create-draft-article"},{"openapi":"post /2/articles/{article_id}/publish","title":"Publish Article","href":"/x-api/articles/publish-article"}]},{"group":"Users","pages":[{"group":"User Lookup","pages":[{"title":"User Lookup","sidebarTitle":"Introduction","href":"/x-api/users/lookup/introduction"},{"group":"Guides","pages":[{"group":"Quickstart","pages":[{"title":"User Lookup Quickstart","sidebarTitle":"User Lookup","href":"/x-api/users/lookup/quickstart/user-lookup"},{"title":"Authenticated User Quickstart","sidebarTitle":"Authenticated User","href":"/x-api/users/lookup/quickstart/authenticated-lookup"}]},{"title":"Integration Guide","sidebarTitle":"Integration Guide","href":"/x-api/users/lookup/integrate"}]},{"openapi":"get /2/users/{id}","title":"Get User by ID","href":"/x-api/users/get-user-by-id"},{"openapi":"get /2/users","title":"Get Users by IDs","href":"/x-api/users/get-users-by-ids"},{"openapi":"get /2/users/by","title":"Get Users by Usernames","href":"/x-api/users/get-users-by-usernames"},{"openapi":"get /2/users/by/username/{username}","title":"Get User by Username","href":"/x-api/users/get-user-by-username"},{"openapi":"get /2/users/me","title":"Get My User","href":"/x-api/users/get-my-user"}]},{"group":"Search","pages":[{"title":"User Search","sidebarTitle":"Introduction","href":"/x-api/users/search/introduction"},{"openapi":"get /2/users/search","title":"Search Users","href":"/x-api/users/search-users"}]},{"group":"Follows","pages":[{"title":"Follows","sidebarTitle":"Introduction","href":"/x-api/users/follows/introduction"},{"group":"Guides","pages":[{"title":"Quickstart","sidebarTitle":"Quickstart","href":"/x-api/users/follows/quickstart"}]},{"openapi":"get /2/users/{id}/followers","title":"Get Followers","href":"/x-api/users/get-followers"},{"openapi":"get /2/users/{id}/following","title":"Get Following","href":"/x-api/users/get-following"},{"openapi":"post /2/users/{id}/following","title":"Follow User","href":"/x-api/users/follow-user"},{"openapi":"delete /2/users/{source_user_id}/following/{target_user_id}","title":"Unfollow User","href":"/x-api/users/unfollow-user"}]},{"group":"Mutes","pages":[{"title":"Mutes","sidebarTitle":"Introduction","href":"/x-api/users/mutes/introduction"},{"group":"Guides","pages":[{"group":"Quickstart","pages":[{"title":"Manage Mutes","sidebarTitle":"Manage Mutes","href":"/x-api/users/mutes/quickstart/manage-mutes-quickstart"},{"title":"Mutes Lookup","sidebarTitle":"Mutes Lookup","href":"/x-api/users/mutes/quickstart/mutes-lookup"}]},{"title":"Integration Guide","sidebarTitle":"Integration Guide","href":"/x-api/users/mutes/integrate"}]},{"openapi":"post /2/users/{id}/muting","title":"Mute User","href":"/x-api/users/mute-user"},{"openapi":"delete /2/users/{source_user_id}/muting/{target_user_id}","title":"Unmute User","href":"/x-api/users/unmute-user"},{"openapi":"get /2/users/{id}/muting","title":"Get Muting","href":"/x-api/users/get-muting"}]},{"group":"Blocks","pages":[{"title":"Blocks","sidebarTitle":"Introduction","href":"/x-api/users/blocks/introduction"},{"group":"Guides","pages":[{"title":"Quickstart","sidebarTitle":"Quickstart","href":"/x-api/users/blocks/quickstart"},{"title":"Integration Guide","sidebarTitle":"Integration Guide","href":"/x-api/users/blocks/integrate"}]},{"openapi":"get /2/users/{id}/blocking","title":"Get Blocked Users","href":"/x-api/users/get-blocking"}]},{"group":"Affiliates","pages":[{"openapi":"get /2/users/{id}/affiliates","title":"Get Affiliates","href":"/x-api/users/get-affiliates"}]}]},{"group":"Direct Messages","pages":[{"group":"Manage","pages":[{"title":"Manage Direct Messages","sidebarTitle":"Introduction","href":"/x-api/direct-messages/manage/introduction"},{"group":"Guides","pages":[{"title":"Quickstart","sidebarTitle":"Quickstart","href":"/x-api/direct-messages/manage/quickstart"},{"title":"Integration Guide","sidebarTitle":"Integration Guide","href":"/x-api/direct-messages/manage/integrate"}]},{"openapi":"post /2/dm_conversations","title":"Create DM Conversation","href":"/x-api/direct-messages/create-dm-conversation"},{"openapi":"delete /2/dm_events/{event_id}","title":"Delete DM Event","href":"/x-api/direct-messages/delete-dm-event"},{"openapi":"post /2/dm_conversations/with/{participant_id}/messages","title":"Create DM Message by Participant ID","href":"/x-api/direct-messages/create-dm-message-by-participant-id"},{"openapi":"post /2/dm_conversations/{dm_conversation_id}/messages","title":"Create DM Message by Conversation ID","href":"/x-api/direct-messages/create-dm-message-by-conversation-id"}]},{"group":"Lookup","pages":[{"title":"Direct Messages Lookup","sidebarTitle":"Introduction","href":"/x-api/direct-messages/lookup/introduction"},{"group":"Guides","pages":[{"title":"Quickstart","sidebarTitle":"Quickstart","href":"/x-api/direct-messages/lookup/quickstart"},{"title":"Integration Guide","sidebarTitle":"Integration Guide","href":"/x-api/direct-messages/lookup/integrate"}]},{"openapi":"get /2/dm_conversations/with/{participant_id}/dm_events","title":"Get DM Events by Participant ID","href":"/x-api/direct-messages/get-dm-events-for-a-dm-conversation"},{"openapi":"get /2/dm_conversations/{id}/dm_events","title":"Get DM Events by Conversation ID","href":"/x-api/direct-messages/get-dm-events-for-a-dm-conversation-1"},{"openapi":"get /2/dm_events","title":"Get DM Events","href":"/x-api/direct-messages/get-dm-events"},{"openapi":"get /2/dm_events/{event_id}","title":"Get DM Event by ID","href":"/x-api/direct-messages/get-dm-event-by-id"},{"openapi":"get /2/dm_conversations/media/{dm_id}/{media_id}/{resource_id}","title":"Download DM Media","href":"/x-api/direct-messages/download-dm-media"}]},{"group":"Blocks","pages":[{"title":"Manage Direct Message blocks on the X API v2","sidebarTitle":"Introduction","href":"/x-api/direct-messages/blocks/introduction"},{"openapi":"post /2/users/{id}/dm/block","title":"Block DMs","href":"/x-api/users/block-dms"},{"openapi":"post /2/users/{id}/dm/unblock","title":"Unblock DMs","href":"/x-api/users/unblock-dms"}]}]},{"group":"Likes","pages":[{"title":"Likes","sidebarTitle":"Introduction","href":"/x-api/posts/likes/introduction"},{"group":"Guides","pages":[{"group":"Quickstart","pages":[{"title":"Likes Lookup","sidebarTitle":"Likes Lookup","href":"/x-api/posts/likes/quickstart/likes-lookup"},{"title":"Manage Likes","sidebarTitle":"Manage Likes","href":"/x-api/posts/likes/quickstart/manage-likes"}]}]},{"openapi":"get /2/users/{id}/liked_tweets","title":"Get Liked Posts","href":"/x-api/users/get-liked-posts"},{"openapi":"get /2/tweets/{id}/liking_users","title":"Get Liking Users","href":"/x-api/posts/get-liking-users"},{"openapi":"post /2/users/{id}/likes","title":"Like Post","href":"/x-api/users/like-post"},{"openapi":"delete /2/users/{id}/likes/{tweet_id}","title":"Unlike Post","href":"/x-api/users/unlike-post"}]},{"group":"Lists","pages":[{"group":"Lookup Lists","pages":[{"title":"List Lookup","sidebarTitle":"Introduction","href":"/x-api/lists/list-lookup/introduction"},{"group":"Guides","pages":[{"title":"Quickstart","sidebarTitle":"Quickstart","href":"/x-api/lists/list-lookup/quickstart"},{"title":"Integration Guide","sidebarTitle":"Integration Guide","href":"/x-api/lists/list-lookup/integrate"}]},{"openapi":"get /2/lists/{id}","title":"Get List by ID","href":"/x-api/lists/get-list-by-id"},{"openapi":"get /2/users/{id}/followed_lists","title":"Get Followed Lists","href":"/x-api/users/get-followed-lists"},{"openapi":"get /2/users/{id}/owned_lists","title":"Get Owned Lists","href":"/x-api/users/get-owned-lists"}]},{"group":"Lookup List Posts","pages":[{"title":"List Posts","sidebarTitle":"Introduction","href":"/x-api/lists/list-tweets/introduction"},{"group":"Guides","pages":[{"title":"Quickstart","sidebarTitle":"Quickstart","href":"/x-api/lists/list-tweets/quickstart"},{"title":"Integration guide","sidebarTitle":"Integration guide","href":"/x-api/lists/list-tweets/integrate"}]},{"openapi":"get /2/lists/{id}/tweets","title":"Get List Posts","href":"/x-api/lists/get-list-posts"}]},{"group":"Manage Lists","pages":[{"title":"Manage Lists","sidebarTitle":"Introduction","href":"/x-api/lists/manage-lists/introduction"},{"group":"Guides","pages":[{"title":"Quickstart","sidebarTitle":"Quickstart","href":"/x-api/lists/manage-lists/quickstart"},{"title":"Integration guide","sidebarTitle":"Integration guide","href":"/x-api/lists/manage-lists/integrate"}]},{"openapi":"post /2/lists","title":"Create List","href":"/x-api/lists/create-list"},{"openapi":"put /2/lists/{id}","title":"Update List","href":"/x-api/lists/update-list"},{"openapi":"delete /2/lists/{id}","title":"Delete List","href":"/x-api/lists/delete-list"},{"openapi":"post /2/users/{id}/followed_lists","title":"Follow List","href":"/x-api/users/follow-list"},{"openapi":"delete /2/users/{id}/followed_lists/{list_id}","title":"Unfollow List","href":"/x-api/users/unfollow-list"}]},{"group":"List Members","pages":[{"title":"List Members","sidebarTitle":"Introduction","href":"/x-api/lists/list-members/introduction"},{"group":"Guides","pages":[{"group":"Quickstart","pages":[{"title":"List Members Overview","sidebarTitle":"Overview","href":"/x-api/lists/list-members/quickstart/overview"},{"title":"List Members Lookup","sidebarTitle":"List Members Lookup","href":"/x-api/lists/list-members/quickstart/list-members-lookup"},{"title":"Manage List Members","sidebarTitle":"Manage List Members","href":"/x-api/lists/list-members/quickstart/manage-list-members"}]},{"title":"Integration guide","sidebarTitle":"Integration guide","href":"/x-api/lists/list-members/integrate"}]},{"group":"Manage","pages":[{"openapi":"post /2/lists/{id}/members","title":"Add List Member","href":"/x-api/lists/add-list-member"},{"openapi":"delete /2/lists/{id}/members/{user_id}","title":"Remove List Member","href":"/x-api/lists/remove-list-member"}]},{"group":"Lookup","pages":[{"openapi":"get /2/users/{id}/list_memberships","title":"Get List Memberships","href":"/x-api/users/get-list-memberships"},{"openapi":"get /2/lists/{id}/followers","title":"Get List Followers","href":"/x-api/lists/get-list-followers"},{"openapi":"get /2/lists/{id}/members","title":"Get List Members","href":"/x-api/lists/get-list-members"}]}]},{"group":"Pinned Lists","pages":[{"title":"Pinned Lists","sidebarTitle":"Introduction","href":"/x-api/lists/pinned-lists/introduction"},{"group":"Guides","pages":[{"group":"Quickstart","pages":[{"title":"Pinned Lists Overview","sidebarTitle":"Overview","href":"/x-api/lists/pinned-lists/quickstart/overview"},{"title":"Pinned Lists Lookup","sidebarTitle":"Pinned Lists Lookup","href":"/x-api/lists/pinned-lists/quickstart/pinned-list-lookup"},{"title":"Manage Pinned Lists","sidebarTitle":"Manage Pinned Lists","href":"/x-api/lists/pinned-lists/quickstart/manage-pinned-lists"}]},{"title":"Integration guide","sidebarTitle":"Integration guide","href":"/x-api/lists/pinned-lists/integrate"}]},{"openapi":"get /2/users/{id}/pinned_lists","title":"Get Pinned Lists","href":"/x-api/users/get-pinned-lists"},{"openapi":"post /2/users/{id}/pinned_lists","title":"Pin List","href":"/x-api/users/pin-list"},{"openapi":"delete /2/users/{id}/pinned_lists/{list_id}","title":"Unpin List","href":"/x-api/users/unpin-list"}]}]},{"group":"Spaces","pages":[{"title":"Spaces endpoints on the X API v2","sidebarTitle":"Introduction","href":"/x-api/spaces/introduction"},{"group":"Spaces Lookup","pages":[{"title":"Spaces Lookup","sidebarTitle":"Introduction","href":"/x-api/spaces/lookup/introduction"},{"group":"Guides","pages":[{"title":"Quickstart","sidebarTitle":"Quickstart","href":"/x-api/spaces/lookup/quickstart"}]},{"openapi":"get /2/spaces","title":"Get Spaces by IDs","href":"/x-api/spaces/get-spaces-by-ids"},{"openapi":"get /2/spaces/by/creator_ids","title":"Get Spaces by Creator IDs","href":"/x-api/spaces/get-spaces-by-creator-ids"},{"openapi":"get /2/spaces/{id}","title":"Get Space by ID","href":"/x-api/spaces/get-space-by-id"},{"openapi":"get /2/spaces/{id}/tweets","title":"Get Space Posts","href":"/x-api/spaces/get-space-posts"},{"openapi":"get /2/spaces/{id}/buyers","title":"Get Space Ticket Buyers","href":"/x-api/spaces/get-space-ticket-buyers"}]},{"group":"Search Spaces","pages":[{"title":"Spaces Search","sidebarTitle":"Introduction","href":"/x-api/spaces/search/introduction"},{"group":"Guides","pages":[{"title":"Quickstart","sidebarTitle":"Quickstart","href":"/x-api/spaces/search/quickstart"}]},{"openapi":"get /2/spaces/search","title":"Search Spaces","href":"/x-api/spaces/search-spaces"}]}]},{"group":"Communities","pages":[{"group":"Communities Lookup","pages":[{"title":"Communities Lookup","sidebarTitle":"Introduction","href":"/x-api/communities/lookup/introduction"},{"openapi":"get /2/communities/{id}","title":"Get Community by ID","href":"/x-api/communities/get-community-by-id"}]},{"group":"Search Communities","pages":[{"title":"Communities Search","sidebarTitle":"Introduction","href":"/x-api/communities/search/introduction"},{"openapi":"get /2/communities/search","title":"Search Communities","href":"/x-api/communities/search-communities"}]}]},{"group":"Community Notes","pages":[{"title":"Community Notes API for X API v2","href":"/x-api/community-notes/introduction"},{"title":"Community Notes API quickstart for X API v2","sidebarTitle":"Quickstart","href":"/x-api/community-notes/quickstart"},{"openapi":"get /2/notes/search/posts_eligible_for_notes","title":"Search for Posts Eligible for Community Notes","href":"/x-api/community-notes/search-for-posts-eligible-for-community-notes"},{"openapi":"get /2/notes/search/notes_written","title":"Search for Community Notes Written","href":"/x-api/community-notes/search-for-community-notes-written"},{"openapi":"post /2/notes","title":"Create a Community Note","href":"/x-api/community-notes/create-a-community-note"},{"openapi":"delete /2/notes/{id}","title":"Delete a Community Note","href":"/x-api/community-notes/delete-a-community-note"},{"openapi":"post /2/notes/evaluate","title":"Evaluate a Community Note","href":"/x-api/community-notes/evaluate-a-community-note"}]},{"group":"Trends","pages":[{"group":"Trends","pages":[{"title":"Trends by WOEID","sidebarTitle":"Introduction","href":"/x-api/trends/trends-by-woeid/introduction"},{"openapi":"get /2/trends/by/woeid/{woeid}","title":"Get Trends by WOEID","href":"/x-api/trends/get-trends-by-woeid"}]},{"group":"Trend Locations","pages":[{"title":"Trend Locations","sidebarTitle":"Introduction","href":"/x-api/trends/trend-locations/introduction"},{"openapi":"get /2/trends/locations","title":"Get Trend Locations","href":"/x-api/trends/get-trend-locations"}]},{"group":"Personalized Trends","pages":[{"title":"Personalized Trends","sidebarTitle":"Introduction","href":"/x-api/trends/personalized-trends/introduction"},{"openapi":"get /2/users/personalized_trends","title":"Get Personalized Trends","href":"/x-api/trends/get-personalized-trends"}]}]},{"group":"News","pages":[{"title":"News lookup endpoint on the X API v2","sidebarTitle":"Introduction","href":"/x-api/news/introduction"},{"openapi":"get /2/news/{id}","title":"Get News Stories by ID","href":"/x-api/news/get-news-stories-by-id"},{"openapi":"get /2/news/search","title":"Search News","href":"/x-api/news/search-news"}]},{"group":"Media","pages":[{"title":"Media upload endpoints on the X API v2","sidebarTitle":"Introduction","href":"/x-api/media/introduction"},{"group":"Upload","pages":[{"group":"Guides","pages":[{"title":"Best practices","sidebarTitle":"Best practices","href":"/x-api/media/quickstart/best-practices"},{"title":"Chunked Media Upload","sidebarTitle":"Quickstart","href":"/x-api/media/quickstart/media-upload-chunked"}]},{"openapi":"post /2/media/upload","title":"Upload Media","href":"/x-api/media/upload-media"},{"openapi":"post /2/media/upload/initialize","title":"Initialize Media Upload","href":"/x-api/media/initialize-media-upload"},{"openapi":"post /2/media/upload/{id}/append","title":"Append Media Upload","href":"/x-api/media/append-media-upload"},{"openapi":"post /2/media/upload/{id}/finalize","title":"Finalize Media Upload","href":"/x-api/media/finalize-media-upload"},{"openapi":"get /2/media/upload","title":"Get Media Upload Status","href":"/x-api/media/get-media-upload-status"}]},{"group":"Metadata","pages":[{"openapi":"post /2/media/metadata","title":"Create Media Metadata","href":"/x-api/media/create-media-metadata"},{"openapi":"post /2/media/subtitles","title":"Create Media Subtitles","href":"/x-api/media/create-media-subtitles"},{"openapi":"delete /2/media/subtitles","title":"Delete Media Subtitles","href":"/x-api/media/delete-media-subtitles"}]}]},{"group":"X Activity","pages":[{"title":"X Activity API","sidebarTitle":"Introduction","href":"/x-api/activity/introduction"},{"title":"X Activity API quickstart guide for streaming events","sidebarTitle":"Quickstart","href":"/x-api/activity/quickstart"},{"title":"X Activity API event payload examples","sidebarTitle":"Event payloads","href":"/x-api/activity/event-payloads"},{"title":"X Activity API event pricing","sidebarTitle":"Event Pricing","href":"/x-api/activity/event-pricing"},{"openapi":"get /2/activity/stream","title":"Activity Stream","href":"/x-api/activity/activity-stream"},{"openapi":"post /2/activity/subscriptions","title":"Create X Activity Subscription","href":"/x-api/activity/create-x-activity-subscription"},{"openapi":"delete /2/activity/subscriptions/{subscription_id}","title":"Delete X Activity Subscription","href":"/x-api/activity/deletes-x-activity-subscription"},{"openapi":"delete /2/activity/subscriptions","title":"Delete X Activity Subscriptions by IDs","href":"/x-api/activity/delete-x-activity-subscriptions-by-ids"},{"openapi":"get /2/activity/subscriptions","title":"Get X Activity Subscriptions","href":"/x-api/activity/get-x-activity-subscriptions"},{"openapi":"put /2/activity/subscriptions/{subscription_id}","title":"Update X Activity Subscription","href":"/x-api/activity/update-x-activity-subscription"}]},{"group":"Usage","pages":[{"title":"Usage","sidebarTitle":"Introduction","href":"/x-api/usage/introduction"},{"openapi":"get /2/usage/tweets","title":"Get Usage","href":"/x-api/usage/get-usage"},{"openapi":"get /2/usage/credits","title":"Get Usage Credits","href":"/x-api/usage/get-usage-credits"}]},{"group":"Stream Connections","pages":[{"title":"Stream Connections","sidebarTitle":"Introduction","href":"/x-api/connections/introduction"},{"openapi":"get /2/connections","title":"Get Connection History","href":"/x-api/connections/get-connection-history"},{"openapi":"delete /2/connections/{endpoint_id}","title":"Terminate Connections by Endpoint","href":"/x-api/connections/terminate-connections-by-endpoint"},{"openapi":"delete /2/connections","title":"Terminate Multiple Connections","href":"/x-api/connections/terminate-multiple-connections"},{"openapi":"delete /2/connections/all","title":"Terminate All Connections","href":"/x-api/connections/terminate-all-connections"}]},{"group":"Compliance","pages":[{"group":"Batch Compliance","pages":[{"title":"Batch Compliance","sidebarTitle":"Introduction","href":"/x-api/compliance/batch-compliance/introduction"},{"group":"Guides","pages":[{"title":"Quickstart","sidebarTitle":"Quickstart","href":"/x-api/compliance/batch-compliance/quickstart"},{"title":"Integration guide","sidebarTitle":"Integration guide","href":"/x-api/compliance/batch-compliance/integrate"}]},{"openapi":"get /2/compliance/jobs","title":"Get Compliance Jobs","href":"/x-api/compliance/get-compliance-jobs"},{"openapi":"post /2/compliance/jobs","title":"Create Compliance Job","href":"/x-api/compliance/create-compliance-job"},{"openapi":"get /2/compliance/jobs/{id}","title":"Get Compliance Job by ID","href":"/x-api/compliance/get-compliance-job-by-id"}]},{"group":"Compliance streams","pages":[{"title":"Compliance event streams on the X API v2","sidebarTitle":"Introduction","href":"/x-api/compliance/streams/introduction"},{"openapi":"get /2/likes/compliance/stream","title":"Stream Likes Compliance Data","href":"/x-api/stream/stream-likes-compliance-data"},{"openapi":"get /2/tweets/compliance/stream","title":"Stream Posts Compliance Data","href":"/x-api/stream/stream-posts-compliance-data"},{"openapi":"get /2/users/compliance/stream","title":"Stream Users Compliance Data","href":"/x-api/stream/stream-users-compliance-data"}]}]},{"group":"Webhooks","pages":[{"title":"V2 Webhooks API","sidebarTitle":"Introduction","href":"/x-api/webhooks/introduction"},{"title":"Quickstart","sidebarTitle":"Quickstart","href":"/x-api/webhooks/quickstart"},{"openapi":"post /2/webhooks","title":"Create Webhook","href":"/x-api/webhooks/create-webhook"},{"openapi":"delete /2/webhooks/{webhook_id}","title":"Delete Webhook","href":"/x-api/webhooks/delete-webhook"},{"openapi":"get /2/webhooks","title":"Get Webhook","href":"/x-api/webhooks/get-webhook"},{"openapi":"put /2/webhooks/{webhook_id}","title":"Validate Webhook","href":"/x-api/webhooks/validate-webhook"},{"openapi":"post /2/webhooks/replay","title":"Create Replay Job for Webhook","href":"/x-api/webhooks/create-replay-job-for-webhook"}]}]},{"dropdown":"Enterprise","icon":"https://mintlify.s3.us-west-1.amazonaws.com/x-preview/icons/xds/icon-bank.svg","groups":[{"group":"Analytics","pages":[{"openapi":"get /2/tweets/analytics","title":"Get Post Analytics","href":"/x-api/posts/get-post-analytics"},{"openapi":"get /2/media/analytics","title":"Get Media Analytics","href":"/x-api/media/get-media-analytics"}]},{"group":"Blocks","pages":[{"openapi":"post /2/users/{id}/blocking","title":"Block User","href":"/x-api/users/block-user"},{"openapi":"delete /2/users/{source_user_id}/blocking/{target_user_id}","title":"Unblock User","href":"/x-api/users/unblock-user"}]},{"group":"Volume Streams","pages":[{"title":"Volume streams (1% sampled and Decahose) on the X API v2","sidebarTitle":"Introduction","href":"/x-api/posts/volume-streams/introduction"},{"openapi":"get /2/tweets/firehose/stream","title":"Stream All Posts","href":"/x-api/stream/stream-all-posts"},{"openapi":"get /2/tweets/firehose/stream/lang/en","title":"Stream English Posts","href":"/x-api/stream/stream-english-posts"},{"openapi":"get /2/tweets/firehose/stream/lang/ja","title":"Stream Japanese Posts","href":"/x-api/stream/stream-japanese-posts"},{"openapi":"get /2/tweets/firehose/stream/lang/ko","title":"Stream Korean Posts","href":"/x-api/stream/stream-korean-posts"},{"openapi":"get /2/tweets/firehose/stream/lang/pt","title":"Stream Portuguese Posts","href":"/x-api/stream/stream-portuguese-posts"},{"openapi":"get /2/tweets/sample/stream","title":"Stream Sampled Posts","href":"/x-api/stream/stream-sampled-posts"},{"openapi":"get /2/tweets/sample10/stream","title":"Stream 10% Sampled Posts","href":"/x-api/stream/stream-10-sampled-posts"}]},{"group":"Likes Streams","pages":[{"title":"Likes Streams","sidebarTitle":"Introduction","href":"/x-api/stream/likes-streams-introduction"},{"openapi":"get /2/likes/firehose/stream","title":"Stream All Likes","href":"/x-api/stream/stream-all-likes"},{"openapi":"get /2/likes/sample10/stream","title":"Stream Sampled Likes","href":"/x-api/stream/stream-sampled-likes"}]},{"group":"Powerstream","pages":[{"title":"Powerstream low-latency streaming API on the X API v2","sidebarTitle":"Introduction","href":"/x-api/powerstream/introduction"},{"title":"Powerstream Operators","sidebarTitle":"Operators","href":"/x-api/powerstream/operators"},{"title":"Handling disconnections","sidebarTitle":"Handling disconnections","href":"/x-api/powerstream/handling-disconnections"},{"title":"Recovery and redundancy","sidebarTitle":"Recovery and redundancy","href":"/x-api/powerstream/recovery-and-redundancy"}]},{"group":"Account Activity","pages":[{"title":"Account Activity API v2 introduction and overview","sidebarTitle":"Introduction","tag":"DEPRECATED","href":"/x-api/account-activity/introduction"},{"title":"Account Activity API quickstart guide","sidebarTitle":"Quickstart","tag":"DEPRECATED","href":"/x-api/account-activity/quickstart"},{"group":"Migration guide","pages":[{"title":"Account Activity API v2 migration guide","tag":"DEPRECATED","href":"/x-api/account-activity/migrate/overview"},{"title":"Migrate from the Account Activity API to the X Activity API","sidebarTitle":"AAA to XAA migration","href":"/x-api/account-activity/migrate/aaa-to-xaa-migration"}]},{"openapi":"post /2/account_activity/webhooks/{webhook_id}/subscriptions/all","title":"Create Subscription","href":"/x-api/account-activity/create-subscription"},{"openapi":"get /2/account_activity/webhooks/{webhook_id}/subscriptions/all","title":"Validate Subscription","href":"/x-api/account-activity/validate-subscription"},{"openapi":"delete /2/account_activity/webhooks/{webhook_id}/subscriptions/{user_id}/all","title":"Delete Subscription","href":"/x-api/account-activity/delete-subscription"},{"openapi":"get /2/account_activity/webhooks/{webhook_id}/subscriptions/all/list","title":"Get Subscriptions","href":"/x-api/account-activity/get-subscriptions"},{"openapi":"get /2/account_activity/subscriptions/count","title":"Get Subscription Count","href":"/x-api/account-activity/get-subscription-count"},{"title":"Create Account Activity replay job","tag":"DEPRECATED","href":"/x-api/account-activity/create-replay-job"}]},{"group":"Filtered Stream Webhooks","pages":[{"title":"Filtered Stream Webhooks API","sidebarTitle":"Introduction","href":"/x-api/webhooks/stream/introduction"},{"title":"Quickstart","sidebarTitle":"Quickstart","href":"/x-api/webhooks/stream/quickstart"},{"openapi":"post /2/tweets/search/webhooks/{webhook_id}","title":"Create Stream Link","href":"/x-api/webhooks/create-stream-link"},{"openapi":"delete /2/tweets/search/webhooks/{webhook_id}","title":"Delete Stream Link","href":"/x-api/webhooks/delete-stream-link"},{"openapi":"get /2/tweets/search/webhooks","title":"Get Stream Links","href":"/x-api/webhooks/get-stream-links"}]}]}]},{"tab":"XDKs","dropdowns":[{"dropdown":"Overview","icon":"cubes","description":"Python, TypeScript, Java, C#","groups":[{"group":"Getting Started","pages":[{"title":"XDKs","sidebarTitle":"All SDKs","href":"/xdks/overview"}]},{"group":"GitHub","pages":[{"title":"xdk-python","href":"https://github.com/xdevplatform/xdk-python"},{"title":"xdk-typescript","href":"https://github.com/xdevplatform/xdk-typescript"},{"title":"xdk-java","href":"https://github.com/xdevplatform/xdk-java"},{"title":"xdk-csharp","href":"https://github.com/xdevplatform/xdk-csharp"},{"title":"xdk (Generator)","href":"https://github.com/xdevplatform/xdk"}]},{"group":"Packages","pages":[{"title":"PyPI (xdk)","href":"https://pypi.org/project/xdk/"},{"title":"npm (@xdevplatform/xdk)","href":"https://www.npmjs.com/package/@xdevplatform/xdk"},{"title":"Maven Central (com.x:xdk)","href":"https://central.sonatype.com/artifact/com.x/xdk"},{"title":"NuGet (XDevPlatform.Xdk)","href":"https://www.nuget.org/packages/XDevPlatform.Xdk"}]}]},{"dropdown":"Python","icon":"python","description":"xdk","groups":[{"group":"Guides","pages":[{"title":"Python XDK","sidebarTitle":"Overview","href":"/xdks/python/overview"},{"title":"Install","sidebarTitle":"Install","href":"/xdks/python/install"},{"title":"Quickstart","sidebarTitle":"Quickstart","href":"/xdks/python/quickstart"},{"title":"Authentication","sidebarTitle":"Authentication","href":"/xdks/python/authentication"},{"title":"Pagination","sidebarTitle":"Pagination","href":"/xdks/python/pagination"},{"title":"Streaming","sidebarTitle":"Streaming","href":"/xdks/python/streaming"}]},{"group":"Client Reference","pages":[{"title":"API Reference","sidebarTitle":"Overview","href":"/xdks/python/reference/overview"},{"title":"AccountClient","sidebarTitle":"Account","href":"/xdks/python/reference/clients/account"},{"title":"AccountActivityClient","sidebarTitle":"Account Activity","href":"/xdks/python/reference/clients/account-activity"},{"title":"ActivityClient","sidebarTitle":"Activity","href":"/xdks/python/reference/clients/activity"},{"title":"ArticlesClient","sidebarTitle":"Articles","href":"/xdks/python/reference/clients/articles"},{"title":"BotsClient","sidebarTitle":"Bots","href":"/xdks/python/reference/clients/bots"},{"title":"BroadcastsClient","sidebarTitle":"Broadcasts","href":"/xdks/python/reference/clients/broadcasts"},{"title":"CallsClient","sidebarTitle":"Calls","href":"/xdks/python/reference/clients/calls"},{"title":"ChatClient","sidebarTitle":"Chat","href":"/xdks/python/reference/clients/chat"},{"title":"CommunitiesClient","sidebarTitle":"Communities","href":"/xdks/python/reference/clients/communities"},{"title":"CommunityNotesClient","sidebarTitle":"Community Notes","href":"/xdks/python/reference/clients/community-notes"},{"title":"ComplianceClient","sidebarTitle":"Compliance","href":"/xdks/python/reference/clients/compliance"},{"title":"ConnectionsClient","sidebarTitle":"Connections","href":"/xdks/python/reference/clients/connections"},{"title":"DirectMessagesClient","sidebarTitle":"Direct Messages","href":"/xdks/python/reference/clients/direct-messages"},{"title":"GeneralClient","sidebarTitle":"General","href":"/xdks/python/reference/clients/general"},{"title":"ListsClient","sidebarTitle":"Lists","href":"/xdks/python/reference/clients/lists"},{"title":"MediaClient","sidebarTitle":"Media","href":"/xdks/python/reference/clients/media"},{"title":"NewsClient","sidebarTitle":"News","href":"/xdks/python/reference/clients/news"},{"title":"PostsClient","sidebarTitle":"Posts","href":"/xdks/python/reference/clients/posts"},{"title":"SpacesClient","sidebarTitle":"Spaces","href":"/xdks/python/reference/clients/spaces"},{"title":"StreamClient","sidebarTitle":"Stream","href":"/xdks/python/reference/clients/stream"},{"title":"TrendsClient","sidebarTitle":"Trends","href":"/xdks/python/reference/clients/trends"},{"title":"UsageClient","sidebarTitle":"Usage","href":"/xdks/python/reference/clients/usage"},{"title":"UsersClient","sidebarTitle":"Users","href":"/xdks/python/reference/clients/users"},{"title":"WebhooksClient","sidebarTitle":"Webhooks","href":"/xdks/python/reference/clients/webhooks"}]}]},{"dropdown":"TypeScript","icon":"js","description":"@xdevplatform/xdk","groups":[{"group":"Guides","pages":[{"title":"TypeScript XDK","sidebarTitle":"Overview","href":"/xdks/typescript/overview"},{"title":"Install","sidebarTitle":"Install","href":"/xdks/typescript/install"},{"title":"Quickstart","sidebarTitle":"Quickstart","href":"/xdks/typescript/quickstart"},{"title":"Authentication","sidebarTitle":"Authentication","href":"/xdks/typescript/authentication"},{"title":"Pagination","sidebarTitle":"Pagination","href":"/xdks/typescript/pagination"},{"title":"Streaming","sidebarTitle":"Streaming","href":"/xdks/typescript/streaming"}]},{"group":"Client Reference","pages":[{"title":"API Reference","sidebarTitle":"Overview","href":"/xdks/typescript/reference/overview"},{"title":"AccountClient","sidebarTitle":"Account","href":"/xdks/typescript/reference/clients/account"},{"title":"AccountActivityClient","sidebarTitle":"Account Activity","href":"/xdks/typescript/reference/clients/account-activity"},{"title":"ActivityClient","sidebarTitle":"Activity","href":"/xdks/typescript/reference/clients/activity"},{"title":"ArticlesClient","sidebarTitle":"Articles","href":"/xdks/typescript/reference/clients/articles"},{"title":"BotsClient","sidebarTitle":"Bots","href":"/xdks/typescript/reference/clients/bots"},{"title":"BroadcastsClient","sidebarTitle":"Broadcasts","href":"/xdks/typescript/reference/clients/broadcasts"},{"title":"CallsClient","sidebarTitle":"Calls","href":"/xdks/typescript/reference/clients/calls"},{"title":"ChatClient","sidebarTitle":"Chat","href":"/xdks/typescript/reference/clients/chat"},{"title":"CommunitiesClient","sidebarTitle":"Communities","href":"/xdks/typescript/reference/clients/communities"},{"title":"CommunityNotesClient","sidebarTitle":"Community Notes","href":"/xdks/typescript/reference/clients/community-notes"},{"title":"ComplianceClient","sidebarTitle":"Compliance","href":"/xdks/typescript/reference/clients/compliance"},{"title":"ConnectionsClient","sidebarTitle":"Connections","href":"/xdks/typescript/reference/clients/connections"},{"title":"DirectMessagesClient","sidebarTitle":"Direct Messages","href":"/xdks/typescript/reference/clients/direct-messages"},{"title":"GeneralClient","sidebarTitle":"General","href":"/xdks/typescript/reference/clients/general"},{"title":"ListsClient","sidebarTitle":"Lists","href":"/xdks/typescript/reference/clients/lists"},{"title":"MediaClient","sidebarTitle":"Media","href":"/xdks/typescript/reference/clients/media"},{"title":"NewsClient","sidebarTitle":"News","href":"/xdks/typescript/reference/clients/news"},{"title":"PostsClient","sidebarTitle":"Posts","href":"/xdks/typescript/reference/clients/posts"},{"title":"SpacesClient","sidebarTitle":"Spaces","href":"/xdks/typescript/reference/clients/spaces"},{"title":"StreamClient","sidebarTitle":"Stream","href":"/xdks/typescript/reference/clients/stream"},{"title":"TrendsClient","sidebarTitle":"Trends","href":"/xdks/typescript/reference/clients/trends"},{"title":"UsageClient","sidebarTitle":"Usage","href":"/xdks/typescript/reference/clients/usage"},{"title":"UsersClient","sidebarTitle":"Users","href":"/xdks/typescript/reference/clients/users"},{"title":"WebhooksClient","sidebarTitle":"Webhooks","href":"/xdks/typescript/reference/clients/webhooks"}]}]},{"dropdown":"Java","icon":"java","description":"com.x:xdk","groups":[{"group":"Guides","pages":[{"title":"Java XDK","sidebarTitle":"Overview","href":"/xdks/java/overview"},{"title":"Install","sidebarTitle":"Install","href":"/xdks/java/install"},{"title":"Quickstart","sidebarTitle":"Quickstart","href":"/xdks/java/quickstart"},{"title":"Authentication","sidebarTitle":"Authentication","href":"/xdks/java/authentication"},{"title":"Pagination","sidebarTitle":"Pagination","href":"/xdks/java/pagination"},{"title":"Streaming","sidebarTitle":"Streaming","href":"/xdks/java/streaming"}]},{"group":"Client Reference","pages":[{"title":"API Reference","sidebarTitle":"Overview","href":"/xdks/java/reference/overview"},{"title":"AccountClient","sidebarTitle":"Account","href":"/xdks/java/reference/clients/account"},{"title":"AccountActivityClient","sidebarTitle":"Account Activity","href":"/xdks/java/reference/clients/account-activity"},{"title":"ActivityClient","sidebarTitle":"Activity","href":"/xdks/java/reference/clients/activity"},{"title":"ArticlesClient","sidebarTitle":"Articles","href":"/xdks/java/reference/clients/articles"},{"title":"BotsClient","sidebarTitle":"Bots","href":"/xdks/java/reference/clients/bots"},{"title":"BroadcastsClient","sidebarTitle":"Broadcasts","href":"/xdks/java/reference/clients/broadcasts"},{"title":"CallsClient","sidebarTitle":"Calls","href":"/xdks/java/reference/clients/calls"},{"title":"ChatClient","sidebarTitle":"Chat","href":"/xdks/java/reference/clients/chat"},{"title":"CommunitiesClient","sidebarTitle":"Communities","href":"/xdks/java/reference/clients/communities"},{"title":"CommunityNotesClient","sidebarTitle":"Community Notes","href":"/xdks/java/reference/clients/community-notes"},{"title":"ComplianceClient","sidebarTitle":"Compliance","href":"/xdks/java/reference/clients/compliance"},{"title":"ConnectionsClient","sidebarTitle":"Connections","href":"/xdks/java/reference/clients/connections"},{"title":"DirectMessagesClient","sidebarTitle":"Direct Messages","href":"/xdks/java/reference/clients/direct-messages"},{"title":"GeneralClient","sidebarTitle":"General","href":"/xdks/java/reference/clients/general"},{"title":"ListsClient","sidebarTitle":"Lists","href":"/xdks/java/reference/clients/lists"},{"title":"MediaClient","sidebarTitle":"Media","href":"/xdks/java/reference/clients/media"},{"title":"NewsClient","sidebarTitle":"News","href":"/xdks/java/reference/clients/news"},{"title":"PostsClient","sidebarTitle":"Posts","href":"/xdks/java/reference/clients/posts"},{"title":"SpacesClient","sidebarTitle":"Spaces","href":"/xdks/java/reference/clients/spaces"},{"title":"StreamClient","sidebarTitle":"Stream","href":"/xdks/java/reference/clients/stream"},{"title":"TrendsClient","sidebarTitle":"Trends","href":"/xdks/java/reference/clients/trends"},{"title":"UsageClient","sidebarTitle":"Usage","href":"/xdks/java/reference/clients/usage"},{"title":"UsersClient","sidebarTitle":"Users","href":"/xdks/java/reference/clients/users"},{"title":"WebhooksClient","sidebarTitle":"Webhooks","href":"/xdks/java/reference/clients/webhooks"}]}]},{"dropdown":"C#","icon":"code","description":"XDevPlatform.Xdk","groups":[{"group":"Guides","pages":[{"title":"C# / .NET XDK","sidebarTitle":"Overview","href":"/xdks/csharp/overview"},{"title":"Install","sidebarTitle":"Install","href":"/xdks/csharp/install"},{"title":"Quickstart","sidebarTitle":"Quickstart","href":"/xdks/csharp/quickstart"},{"title":"Authentication","sidebarTitle":"Authentication","href":"/xdks/csharp/authentication"},{"title":"Pagination","sidebarTitle":"Pagination","href":"/xdks/csharp/pagination"},{"title":"Streaming","sidebarTitle":"Streaming","href":"/xdks/csharp/streaming"}]},{"group":"Client Reference","pages":[{"title":"API Reference","sidebarTitle":"Overview","href":"/xdks/csharp/reference/overview"},{"title":"AccountClient","sidebarTitle":"Account","href":"/xdks/csharp/reference/clients/account"},{"title":"AccountActivityClient","sidebarTitle":"Account Activity","href":"/xdks/csharp/reference/clients/account-activity"},{"title":"ActivityClient","sidebarTitle":"Activity","href":"/xdks/csharp/reference/clients/activity"},{"title":"ArticlesClient","sidebarTitle":"Articles","href":"/xdks/csharp/reference/clients/articles"},{"title":"BotsClient","sidebarTitle":"Bots","href":"/xdks/csharp/reference/clients/bots"},{"title":"BroadcastsClient","sidebarTitle":"Broadcasts","href":"/xdks/csharp/reference/clients/broadcasts"},{"title":"CallsClient","sidebarTitle":"Calls","href":"/xdks/csharp/reference/clients/calls"},{"title":"ChatClient","sidebarTitle":"Chat","href":"/xdks/csharp/reference/clients/chat"},{"title":"CommunitiesClient","sidebarTitle":"Communities","href":"/xdks/csharp/reference/clients/communities"},{"title":"CommunityNotesClient","sidebarTitle":"Community Notes","href":"/xdks/csharp/reference/clients/community-notes"},{"title":"ComplianceClient","sidebarTitle":"Compliance","href":"/xdks/csharp/reference/clients/compliance"},{"title":"ConnectionsClient","sidebarTitle":"Connections","href":"/xdks/csharp/reference/clients/connections"},{"title":"DirectMessagesClient","sidebarTitle":"Direct Messages","href":"/xdks/csharp/reference/clients/direct-messages"},{"title":"GeneralClient","sidebarTitle":"General","href":"/xdks/csharp/reference/clients/general"},{"title":"ListsClient","sidebarTitle":"Lists","href":"/xdks/csharp/reference/clients/lists"},{"title":"MediaClient","sidebarTitle":"Media","href":"/xdks/csharp/reference/clients/media"},{"title":"NewsClient","sidebarTitle":"News","href":"/xdks/csharp/reference/clients/news"},{"title":"PostsClient","sidebarTitle":"Posts","href":"/xdks/csharp/reference/clients/posts"},{"title":"SpacesClient","sidebarTitle":"Spaces","href":"/xdks/csharp/reference/clients/spaces"},{"title":"StreamClient","sidebarTitle":"Stream","href":"/xdks/csharp/reference/clients/stream"},{"title":"TrendsClient","sidebarTitle":"Trends","href":"/xdks/csharp/reference/clients/trends"},{"title":"UsageClient","sidebarTitle":"Usage","href":"/xdks/csharp/reference/clients/usage"},{"title":"UsersClient","sidebarTitle":"Users","href":"/xdks/csharp/reference/clients/users"},{"title":"WebhooksClient","sidebarTitle":"Webhooks","href":"/xdks/csharp/reference/clients/webhooks"}]}]}]},{"tab":"Changelog","groups":[{"group":"Changelog","pages":[{"title":"X API changelog and release notes","sidebarTitle":"Overview","href":"/changelog"}]}]}]},{"product":"Chat API","tabs":[{"tab":"Documentation","groups":[{"group":"Start here","pages":[{"title":"Send encrypted direct messages with the X Chat API","sidebarTitle":"Introduction","href":"/xchat/introduction"},{"title":"How X Chat keeps your messages secure","sidebarTitle":"Cryptography Primer","href":"/xchat/cryptography-primer"},{"title":"Get started: send your first encrypted message","sidebarTitle":"Getting Started","href":"/xchat/getting-started"},{"title":"Chat XDK: the encryption toolkit for X Chat","sidebarTitle":"Chat XDK","href":"/xchat/xchat-xdk"}]},{"group":"Guides","pages":[{"title":"Send images and files in X Chat","sidebarTitle":"Media","href":"/xchat/media"},{"title":"Create encrypted group conversations in X Chat","sidebarTitle":"Groups","href":"/xchat/groups"},{"title":"Manage bot accounts with the Chat API","sidebarTitle":"Bots","href":"/xchat/bots"},{"title":"Get new X Chat messages as they arrive","sidebarTitle":"Real-Time Events","href":"/xchat/real-time-events"},{"title":"Fix common X Chat problems","sidebarTitle":"Troubleshooting","href":"/xchat/troubleshooting"}]},{"group":"Security practices","pages":[{"title":"Build X Chat UI apps with WASM so private keys never leave the browser","sidebarTitle":"Building UI apps with WASM","href":"/xchat/building-ui-apps-with-wasm"},{"title":"Best practices for handling X Chat private keys and PINs","sidebarTitle":"Handling private keys","href":"/xchat/handling-private-keys"}]},{"group":"API reference","pages":[{"group":"Conversations and messages","expanded":true,"pages":[{"openapi":"get /2/chat/conversations","title":"Get Chat Conversations","href":"/x-api/chat/get-chat-conversations"},{"openapi":"get /2/chat/conversations/{id}","title":"Get Chat Conversation","href":"/x-api/chat/get-chat-conversation"},{"openapi":"post /2/chat/conversations/group","title":"Create Chat Group Conversation","href":"/x-api/chat/create-chat-group-conversation"},{"openapi":"post /2/chat/conversations/group/initialize","title":"Initialize Chat Group","href":"/x-api/chat/initialize-chat-group"},{"openapi":"post /2/chat/conversations/{id}/keys","title":"Add Conversation Keys","href":"/x-api/chat/add-conversation-keys"},{"openapi":"get /2/chat/conversations/{id}/events","title":"Get Chat Conversation Events","href":"/x-api/chat/get-chat-conversation-events"},{"openapi":"post /2/chat/conversations/{id}/messages","title":"Send Chat Message","href":"/x-api/chat/send-chat-message"},{"openapi":"post /2/chat/conversations/{id}/messages/delete","title":"Delete Chat Messages","href":"/x-api/chat/delete-chat-messages"},{"openapi":"post /2/chat/conversations/{id}/typing","title":"Send Typing Indicator","href":"/x-api/chat/send-typing-indicator"},{"openapi":"post /2/chat/conversations/{id}/read","title":"Mark Conversation as Read","href":"/x-api/chat/mark-conversation-as-read"},{"openapi":"get /2/chat/conversations/{id}/pinned_messages","title":"Get Chat Conversation Pinned Messages","href":"/x-api/chat/get-chat-conversation-pinned-messages"},{"openapi":"delete /2/chat/conversations/{id}","title":"Delete a Chat Conversation Using the Legacy Route","href":"/x-api/chat/delete-a-chat-conversation"},{"openapi":"get /2/chat/message_requests","title":"Get Chat Message Requests","href":"/x-api/chat/get-chat-message-requests"},{"openapi":"get /2/chat/message_requests/{id}","title":"Get Chat Message Request","href":"/x-api/chat/get-chat-message-request"},{"openapi":"post /2/chat/message_requests/{id}/accept","title":"Accept a Chat Message Request","href":"/x-api/chat/accept-a-chat-message-request"}]},{"group":"Conversation settings","expanded":true,"pages":[{"openapi":"post /2/chat/conversations/{id}/mute","title":"Mute a Chat Conversation","href":"/x-api/chat/mute-a-chat-conversation"},{"openapi":"post /2/chat/conversations/{id}/unmute","title":"Unmute a Chat Conversation","href":"/x-api/chat/unmute-a-chat-conversation"},{"openapi":"put /2/chat/conversations/{id}/message_ttl","title":"Turn On Disappearing Messages in a Chat Conversation","href":"/x-api/chat/turn-on-disappearing-messages-in-a-chat-conversation"},{"openapi":"post /2/chat/conversations/{id}/message_ttl/remove","title":"Turn Off Disappearing Messages in a Chat Conversation","href":"/x-api/chat/turn-off-disappearing-messages-in-a-chat-conversation"},{"openapi":"put /2/chat/conversations/{id}/screen_capture","title":"Update Screen Capture Settings for a Chat Conversation","href":"/x-api/chat/update-screen-capture-settings-for-a-chat-conversation"}]},{"group":"Groups","expanded":true,"pages":[{"openapi":"put /2/chat/conversations/{id}","title":"Update a Chat Group Conversation","href":"/x-api/chat/update-a-chat-group-conversation"},{"openapi":"post /2/chat/conversations/{id}/members","title":"Add Members to a Chat Group Conversation","href":"/x-api/chat/add-members-to-a-chat-group-conversation"},{"openapi":"post /2/chat/conversations/{id}/members/remove","title":"Remove Members from a Chat Group Conversation","href":"/x-api/chat/remove-members-from-a-chat-group-conversation"}]},{"group":"Group admins","expanded":true,"pages":[{"openapi":"post /2/chat/conversations/{id}/admins","title":"Add Admins to a Chat Group Conversation","href":"/x-api/chat/add-admins-to-a-chat-group-conversation"},{"openapi":"post /2/chat/conversations/{id}/admins/remove","title":"Remove Admins from a Chat Group Conversation","href":"/x-api/chat/remove-admins-from-a-chat-group-conversation"},{"openapi":"put /2/chat/conversations/{id}/admin_settings","title":"Update the Admin-Only Settings of a Chat Group Conversation","href":"/x-api/chat/update-the-admin-only-settings-of-a-chat-group-conversation"},{"openapi":"get /2/chat/conversations/{id}/admin_requests","title":"Get Pending Admin Requests for a Chat Group Conversation","href":"/x-api/chat/get-pending-admin-requests-for-a-chat-group-conversation"},{"openapi":"post /2/chat/conversations/{id}/admin_requests","title":"Request Admin Permissions in a Chat Group Conversation","href":"/x-api/chat/request-admin-permissions-in-a-chat-group-conversation"},{"openapi":"post /2/chat/conversations/{id}/admin_requests/{user_id}/approve","title":"Approve an Admin Request in a Chat Group Conversation","href":"/x-api/chat/approve-an-admin-request-in-a-chat-group-conversation"},{"openapi":"post /2/chat/conversations/{id}/admin_requests/{user_id}/reject","title":"Reject an Admin Request in a Chat Group Conversation","href":"/x-api/chat/reject-an-admin-request-in-a-chat-group-conversation"}]},{"group":"Group invites and join requests","expanded":true,"pages":[{"openapi":"post /2/chat/conversations/{id}/invite","title":"Enable a Chat Group Invite Link","href":"/x-api/chat/enable-a-chat-group-invite-link"},{"openapi":"post /2/chat/conversations/{id}/invite/disable","title":"Disable a Chat Group Invite Link","href":"/x-api/chat/disable-a-chat-group-invite-link"},{"openapi":"get /2/chat/conversations/{id}/invites/{token}","title":"Get a Chat Group Invite Link","href":"/x-api/chat/get-a-chat-group-invite-link"},{"openapi":"post /2/chat/conversations/{id}/join_requests","title":"Request to Join a Chat Group","href":"/x-api/chat/request-to-join-a-chat-group"},{"openapi":"post /2/chat/conversations/{id}/join_requests/reject","title":"Reject Join Requests for a Chat Group Conversation","href":"/x-api/chat/reject-join-requests-for-a-chat-group-conversation"}]},{"group":"Encryption keys","expanded":true,"pages":[{"openapi":"post /2/users/{id}/public_keys","title":"Add Public Key","href":"/x-api/chat/add-public-key"},{"openapi":"get /2/users/{id}/public_keys","title":"Get User Public Keys","href":"/x-api/chat/get-user-public-keys"},{"openapi":"get /2/users/public_keys","title":"Get Public Keys for Multiple Users","href":"/x-api/users/get-public-keys-for-multiple-users"}]},{"group":"Media","expanded":true,"pages":[{"openapi":"post /2/chat/media/upload/initialize","title":"Initialize Chat Media Upload","href":"/x-api/chat/initialize-chat-media-upload"},{"openapi":"post /2/chat/media/upload/{id}/append","title":"Append Chat Media Upload","href":"/x-api/chat/append-chat-media-upload"},{"openapi":"post /2/chat/media/upload/{id}/finalize","title":"Finalize Chat Media Upload","href":"/x-api/chat/finalize-chat-media-upload"},{"openapi":"get /2/chat/media/{id}/{media_hash_key}","title":"Download Chat Media","href":"/x-api/chat/download-chat-media"}]},{"group":"Bots","expanded":true,"pages":[{"openapi":"post /2/bots","title":"Create a Bot","href":"/x-api/bots/create-a-bot"},{"openapi":"get /2/bots","title":"Get Bots","href":"/x-api/bots/get-bots"},{"openapi":"put /2/bots/{id}","title":"Update Bot","href":"/x-api/bots/update-bot"},{"openapi":"delete /2/bots/{id}","title":"Delete Bot","href":"/x-api/bots/delete-bot"},{"openapi":"post /2/bots/{id}/token","title":"Rotate Bot Token","href":"/x-api/bots/rotate-bot-token"},{"openapi":"delete /2/bots/{id}/token","title":"Revoke Bot Token","href":"/x-api/bots/revoke-bot-token"}]},{"group":"Privacy settings","expanded":true,"pages":[{"openapi":"get /2/chat/settings","title":"Get Chat Settings","href":"/x-api/chat/get-chat-settings"},{"openapi":"put /2/chat/settings","title":"Update Chat Settings","href":"/x-api/chat/update-chat-settings"}]}]}]}]},{"product":"Ads API","tabs":[{"tab":"API Reference","groups":[{"group":"Overview","pages":[{"title":"Introduction","href":"/x-ads-api/introduction"},{"group":"Getting Started","pages":[{"title":"Step-by-step guide","href":"/x-ads-api/getting-started/step-by-step-guide"},{"title":"Increasing access","href":"/x-ads-api/getting-started/increasing-access"}]}]},{"group":"Fundamentals","pages":[{"title":"Ads API hierarchy and terminology","href":"/x-ads-api/fundamentals/hierarchy-and-terminology"},{"title":"Accessing Ads accounts","href":"/x-ads-api/fundamentals/accessing-ads-accounts"},{"title":"Making Authenticated Requests","href":"/x-ads-api/fundamentals/making-authenticated-requests"},{"title":"Error codes and responses","href":"/x-ads-api/fundamentals/error-codes-and-responses"},{"title":"Rate limiting","href":"/x-ads-api/fundamentals/rate-limiting"},{"title":"Pagination","href":"/x-ads-api/fundamentals/pagination"},{"title":"Sorting","href":"/x-ads-api/fundamentals/sorting"},{"title":"Versions","href":"/x-ads-api/fundamentals/versioning"},{"title":"Timezones","href":"/x-ads-api/fundamentals/timezones"},{"title":"Currency","href":"/x-ads-api/fundamentals/currency"},{"title":"Sandbox","href":"/x-ads-api/fundamentals/sandbox"}]},{"group":"Resources","pages":[{"group":"Tools \u0026 Libraries","icon":"/icons/xds/icon-wrench.svg","pages":[{"title":"Tools and libraries","href":"/x-ads-api/tools-and-libraries"}]},{"group":"X Ads MCP","icon":"/icons/xds/icon-ai-agents.svg","pages":[{"title":"X Ads MCP","sidebarTitle":"Overview","href":"/x-ads-api/mcp"},{"title":"X Ads MCP API Reference","sidebarTitle":"API Reference","href":"/x-ads-api/mcp/reference"}]},{"group":"Analytics","icon":"/icons/xds/icon-bar-chart.svg","pages":[{"title":"Analytics","sidebarTitle":"Overview","href":"/x-ads-api/analytics"}]},{"group":"Audiences","icon":"/icons/xds/icon-people.svg","pages":[{"title":"Audiences","sidebarTitle":"Overview","href":"/x-ads-api/audiences"},{"title":"Audiences API Reference","sidebarTitle":"API Reference","href":"/x-ads-api/audiences/reference"}]},{"group":"Campaign Management","icon":"/icons/xds/icon-megaphone.svg","pages":[{"title":"Campaign Management","sidebarTitle":"Overview","href":"/x-ads-api/campaign-management"},{"title":"Campaign Management API Reference","sidebarTitle":"API Reference","href":"/x-ads-api/campaign-management/reference"},{"group":"Guides","pages":[{"title":"Creating a DPA Campaign - Step-by-Step","href":"/x-ads-api/guides/create-a-dpa-campaign"}]}]},{"group":"Catalog Management","icon":"/icons/xds/icon-lists.svg","pages":[{"title":"Catalog Management","sidebarTitle":"Overview","href":"/x-ads-api/catalog-management"},{"title":"Catalog Management API Reference","sidebarTitle":"API Reference","href":"/x-ads-api/catalog-management/reference"}]},{"group":"Creatives","icon":"/icons/xds/icon-photo.svg","pages":[{"title":"Creatives","sidebarTitle":"Overview","href":"/x-ads-api/creatives"},{"title":"Creatives API Reference","sidebarTitle":"API Reference","href":"/x-ads-api/creatives/reference"}]},{"group":"Lead Generation","icon":"/icons/xds/icon-clipboard.svg","pages":[{"title":"Lead Generation","sidebarTitle":"Overview","href":"/x-ads-api/lead-generation"},{"title":"Lead Generation API Reference","sidebarTitle":"API Reference","href":"/x-ads-api/lead-generation/reference"}]}]},{"group":"Measurement","pages":[{"title":"Mobile Conversions","href":"/x-ads-api/measurement/mobile-conversions"},{"title":"Conversion API for Web","href":"/x-ads-api/measurement/web-conversions"},{"title":"Conversion API for App Events","href":"/x-ads-api/measurement/app-conversions"},{"title":"Set up the Conversion API with Google Tag Manager","sidebarTitle":"GTM server-side","href":"/x-ads-api/measurement/gtm-server-side"},{"title":"AB Testing","href":"/x-ads-api/measurement/ab-testing"}]}]}]},{"product":"Livestream API","tabs":[{"tab":"Documentation","groups":[{"group":"Overview","pages":[{"title":"Livestream API","sidebarTitle":"Introduction","href":"/livestream-api/introduction"},{"title":"Getting Started","sidebarTitle":"Getting Started","href":"/livestream-api/getting-started"},{"title":"Typical Workflow","sidebarTitle":"Typical Workflow","href":"/livestream-api/typical-workflow"},{"title":"Authentication","sidebarTitle":"Authentication","href":"/livestream-api/authentication"},{"title":"Migrating to the /2/sources and /2/broadcasts routes","sidebarTitle":"Migration Guide","href":"/livestream-api/migration-guide"},{"title":"Livestream API SKILL.md","sidebarTitle":"SKILL.md","href":"/livestream-api/skill-md"}]},{"group":"Stream Sources","pages":[{"title":"Stream Source Management","sidebarTitle":"Overview","href":"/livestream-api/sources/overview"},{"title":"Get Recommended Region","sidebarTitle":"Get Recommended Region","openapi":"get /2/region","href":"/livestream-api/sources/get-recommended-region"},{"title":"Create a Source","sidebarTitle":"Create a Source","openapi":"post /2/sources","href":"/livestream-api/sources/create-a-source"},{"title":"Get Sources","sidebarTitle":"Get Sources","openapi":"get /2/sources","href":"/livestream-api/sources/get-sources"},{"title":"Get Source by ID","sidebarTitle":"Get Source by ID","openapi":"get /2/sources/{id}","href":"/livestream-api/sources/get-source-by-id"},{"title":"Get Source Stream Key","sidebarTitle":"Get Source Stream Key","openapi":"get /2/sources/{id}/stream_key","href":"/livestream-api/sources/get-source-stream-key"},{"title":"Update Source by ID","sidebarTitle":"Update Source by ID","openapi":"put /2/sources/{id}","href":"/livestream-api/sources/update-source-by-id"},{"title":"Delete Source by ID","sidebarTitle":"Delete Source by ID","openapi":"delete /2/sources/{id}","href":"/livestream-api/sources/delete-source-by-id"},{"title":"Create Stream Source","sidebarTitle":"Create Stream Source","tag":"DEPRECATED","href":"/livestream-api/sources/create-source"},{"title":"List Stream Sources","sidebarTitle":"List Stream Sources","tag":"DEPRECATED","href":"/livestream-api/sources/list-sources"},{"title":"Get Stream Source","sidebarTitle":"Get Stream Source","tag":"DEPRECATED","href":"/livestream-api/sources/get-source"},{"title":"Update Stream Source","sidebarTitle":"Update Stream Source","tag":"DEPRECATED","href":"/livestream-api/sources/update-source"},{"title":"Delete Stream Source","sidebarTitle":"Delete Stream Source","tag":"DEPRECATED","href":"/livestream-api/sources/delete-source"}]},{"group":"Broadcasts","pages":[{"title":"Broadcast Lifecycle","sidebarTitle":"Overview","href":"/livestream-api/broadcasts/overview"},{"title":"Go Live","sidebarTitle":"Go Live","openapi":"post /2/broadcasts","href":"/livestream-api/broadcasts/go-live"},{"title":"Get Live Categories","sidebarTitle":"Get Live Categories","openapi":"get /2/broadcasts/categories","href":"/livestream-api/broadcasts/get-live-categories"},{"title":"Get Broadcasts","sidebarTitle":"Get Broadcasts","openapi":"get /2/broadcasts","href":"/livestream-api/broadcasts/get-broadcasts"},{"title":"Get Broadcast by ID","sidebarTitle":"Get Broadcast by ID","openapi":"get /2/broadcasts/{id}","href":"/livestream-api/broadcasts/get-broadcast-by-id"},{"title":"Update Broadcast by ID","sidebarTitle":"Update Broadcast by ID","openapi":"put /2/broadcasts/{id}","href":"/livestream-api/broadcasts/update-broadcast-by-id"},{"title":"End Broadcast","sidebarTitle":"End Broadcast","openapi":"put /2/broadcasts/{id}/state","href":"/livestream-api/broadcasts/end-broadcast"},{"title":"Delete Broadcast by ID","sidebarTitle":"Delete Broadcast by ID","openapi":"delete /2/broadcasts/{id}","href":"/livestream-api/broadcasts/delete-broadcast-by-id"},{"title":"Create Broadcast","sidebarTitle":"Create Broadcast","tag":"DEPRECATED","href":"/livestream-api/broadcasts/create-broadcast"},{"title":"Publish (Go Live) or End a Broadcast","sidebarTitle":"Publish or End Broadcast","tag":"DEPRECATED","href":"/livestream-api/broadcasts/publish-or-end-broadcast"},{"title":"List Broadcasts","sidebarTitle":"List Broadcasts","tag":"DEPRECATED","href":"/livestream-api/broadcasts/list-broadcasts"},{"title":"Get Broadcast","sidebarTitle":"Get Broadcast","tag":"DEPRECATED","href":"/livestream-api/broadcasts/get-broadcast"},{"title":"Delete Broadcast","sidebarTitle":"Delete Broadcast","tag":"DEPRECATED","href":"/livestream-api/broadcasts/delete-broadcast"}]},{"group":"Scheduled Broadcasts","pages":[{"title":"Livestream Scheduling API","sidebarTitle":"Overview","href":"/livestream-api/scheduled-broadcasts/overview"},{"title":"Create a Scheduled Broadcast","sidebarTitle":"Create Scheduled Broadcast","openapi":"post /2/broadcasts/scheduled","href":"/livestream-api/scheduled-broadcasts/create-scheduled-broadcast"},{"title":"List Scheduled Broadcasts","sidebarTitle":"List Scheduled Broadcasts","openapi":"get /2/broadcasts/scheduled","href":"/livestream-api/scheduled-broadcasts/list-scheduled-broadcasts"},{"title":"Get a Scheduled Broadcast","sidebarTitle":"Get Scheduled Broadcast","openapi":"get /2/broadcasts/scheduled/{id}","href":"/livestream-api/scheduled-broadcasts/get-scheduled-broadcast"},{"title":"Update a Scheduled Broadcast","sidebarTitle":"Update Scheduled Broadcast","openapi":"put /2/broadcasts/scheduled/{id}","href":"/livestream-api/scheduled-broadcasts/update-scheduled-broadcast"},{"title":"Delete a Scheduled Broadcast","sidebarTitle":"Delete Scheduled Broadcast","openapi":"delete /2/broadcasts/scheduled/{id}","href":"/livestream-api/scheduled-broadcasts/delete-scheduled-broadcast"},{"title":"Go Live on a Scheduled Broadcast","sidebarTitle":"Go Live","openapi":"post /2/broadcasts/scheduled/{id}/live","href":"/livestream-api/scheduled-broadcasts/go-live"}]},{"group":"Live Chat","pages":[{"title":"Accessing Live Chat","sidebarTitle":"Accessing Live Chat","href":"/livestream-api/chat/accessing-live-chat"},{"title":"Get Chat History","sidebarTitle":"Get Chat History","openapi":"get /2/broadcasts/{id}/chat","href":"/livestream-api/chat/get-chat-history"},{"title":"Send a Chat Message","sidebarTitle":"Send a Chat Message","openapi":"post /2/broadcasts/{id}/chat","href":"/livestream-api/chat/send-chat-message"},{"title":"Mute a Chat User","sidebarTitle":"Mute a Chat User","openapi":"post /2/broadcasts/chat/mutes","href":"/livestream-api/chat/mute-user"},{"title":"Unmute a Chat User","sidebarTitle":"Unmute a Chat User","openapi":"delete /2/broadcasts/chat/mutes/{user_id}","href":"/livestream-api/chat/unmute-user"},{"title":"List Muted Chat Users","sidebarTitle":"List Muted Chat Users","openapi":"get /2/broadcasts/chat/mutes","href":"/livestream-api/chat/list-muted-chat-users"},{"title":"Mute a Chat User by Broadcast ID","sidebarTitle":"Mute a Chat User by Broadcast ID","openapi":"post /2/broadcasts/{id}/chat/mutes","tag":"DEPRECATED","href":"/livestream-api/chat/mute-chat-user"},{"title":"Unmute a Chat User by Broadcast ID","sidebarTitle":"Unmute a Chat User by Broadcast ID","openapi":"delete /2/broadcasts/{id}/chat/mutes/{user_id}","tag":"DEPRECATED","href":"/livestream-api/chat/unmute-chat-user"},{"title":"Delete a Chat Message","sidebarTitle":"Delete a Chat Message","openapi":"delete /2/broadcasts/{id}/chat/{message_id}","href":"/livestream-api/chat/delete-chat-message"},{"title":"List Broadcast Moderators","sidebarTitle":"List Broadcast Moderators","openapi":"get /2/broadcasts/chat/moderators","href":"/livestream-api/chat/list-moderators"},{"title":"Add a Broadcast Moderator","sidebarTitle":"Add a Broadcast Moderator","openapi":"post /2/broadcasts/chat/moderators","href":"/livestream-api/chat/add-moderator"},{"title":"Remove a Broadcast Moderator","sidebarTitle":"Remove a Broadcast Moderator","openapi":"delete /2/broadcasts/chat/moderators/{user_id}","href":"/livestream-api/chat/remove-moderator"}]}]}]},{"product":"Enterprise","hidden":true,"groups":[{"group":"Overview","pages":[{"title":"X Enterprise API introduction and product overview","sidebarTitle":"Introduction","mode":"wide","href":"/enterprise-api/introduction"}]}]}]},"basePath":"","title":"Create or Edit Post - X","deploymentId":"dpl_Ab6nteg7kvyK8iL73naC2n7fmsWK","buildId":"dpl_Ab6nteg7kvyK8iL73naC2n7fmsWK","dynamics":["c2aa737661","b0f84f53ff","a9bb46feb3","2b790eda92"],"chunks":["OpenApiReferenceProvider-C6Z1vAfX.js","snippetPresets-Bjd6OXRM.js","utils-QL6OhUyF.js","style-to-object-BY3JEAdk.js","utils-Dsq-HLeF.js","v4-DIgz8zy6.js","addTypeLabelsToSchema-CEYfmkoV.js","conditional-requirements-CFM0id0Q.js","cloneDeep-CHgPjMM8.js","_Uint8Array-IXRJ_ueo.js","isObject-FP1Yky1u.js","Page-B_smDgrp.js","api-description-markdown-DtcP2u3s.js","DynamicMarkdown-DOefW1_8.js","CodeSnippet-C_J7pouP.js","use-playground-group-access-bkOyfPao.js","SectionHeading-Cg4lfWZw.js","ApiExamples-pq4ns9YA.js","usePlaygroundInputsStore-D-gnigmo.js","shallow-DIfWGPrf.js","isEqual-DDFuixlH.js","CodeSnippets-8g5rilZj.js","MethodPill-BnqygvYm.js","getPastedJson-BGXYEZ3P.js","Check2Icon-BBeO3TOS.js","axios-CsQoIw0U.js","Markdown-D5IqLG6A.js","AssistantPageLink-_S2h4i6W.js","dist-DzZqOeCq.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js"]}