Skip to content

Document OAuth 1.0a support for X Chat and X Activity chat events - #606

Open
tcaldwell-x wants to merge 1 commit into
mainfrom
tcaldwell/xchat-oauth1-support
Open

tcaldwell-x wants to merge 1 commit into
mainfrom
tcaldwell/xchat-oauth1-support

Conversation

@tcaldwell-x

Copy link
Copy Markdown
Collaborator

Summary

Clarifies that existing apps can use OAuth 1.0a user tokens (configured with Read, Write, and Direct Messages permissions) across all public X Chat API endpoints, public key retrieval endpoints, and X Activity API chat.* subscriptions and delivery — allowing developers to migrate to X Chat before moving to OAuth 2.0 (ahead of the January 31, 2027 OAuth 1.0a retirement).

Changes

  • xchat/introduction.mdx: Document OAuth 1.0a support under Auth notes with link to the OAuth 1.0a → OAuth 2.0 migration guide.
  • xchat/getting-started.mdx: Update Prerequisites and client setup to note OAuth 1.0a support across all X Chat endpoints, including GET /2/users/{id}/public_keys and GET /2/users/public_keys.
  • xchat/migrate-from-legacy-dms.mdx: Expand Using OAuth 1.0a during migration covering all public /2/chat/* and /2/users/*/public_keys routes, X Activity API chat.* subscription management and delivery, app-only utility routes (GET /2/activity/stream, batch subscription delete, webhook replay), and the January 31, 2027 token-exchange migration path; update the credentials table and pre-cutover checklist.
  • xchat/real-time-events.mdx: Document OAuth 1.0a support for chat.* subscription CRUD, webhook management, and webhook/stream delivery authorization.
  • xchat/media.mdx: Note OAuth 1.0a support on all four /2/chat/media/* routes alongside the OAuth 2.0 media.write requirement.
  • xchat/xchat-xdk.mdx: Clarify that chat-xdk makes no authenticated X HTTP API calls (including public key retrieval) and that callers can use either OAuth 2.0 or OAuth 1.0a user tokens.
  • x-api/activity/introduction.mdx: Update Authentication requirements for private events to reflect OAuth 1.0a support for chat.* and dm.* events on both webhooks and GET /2/activity/stream.

@mintlify

mintlify Bot commented Dec 2, 2026 •

Copy link
Copy Markdown
Contributor

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated
x-corp 🟢 Ready View Preview Dec 2, 2026, 11:15 PM

This branch was successfully deployed

1 active deployment
staging — aa21a2e1 Deployed Dec 2, 2026 by mintlify[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant