Back to X API
X API

X API v2.166: new Articles endpoints added; enum values removed from Problem type

BreakingBreaking change

This is a breaking change — integrations that rely on the affected behaviour will need updates before the change rolls out.

What changed

Two new Articles endpoints are added (POST /2/articles/draft and POST /2/articles/{article_id}/publish) along with supporting schemas (ArticleDraftCreateRequest, ArticleDraftCreateResponse, ArticlePublishResponse, ArticleId) and query parameter definitions (ArticleExpansionsParameter, ArticleFieldsParameter). Additionally, the enum on a Problem-related schema (likely ResourceType or similar) has had place and poll removed, leaving only ["user","tweet","media","list","space"] — clients that send or match against "place" or "poll" as valid values in that field will break.

Open the source documentation