Skip to content

X Chat: OAuth 1.0a works on every X Chat endpoint with Read, Write and Direct Messages - #610

Merged
tcaldwell-x merged 1 commit into
mainfrom
tcaldwell/xchat-oauth1a-docs
Dec 3, 2026
Merged

tcaldwell-x merged 1 commit into
mainfrom
tcaldwell/xchat-oauth1a-docs

Conversation

@tcaldwell-x

Copy link
Copy Markdown
Collaborator

OAuth 1.0a user tokens now work on every X Chat endpoint, including welcome messages, welcome-message rules, and surveys, and on the public-key routes. Every X Chat route requires the Read, Write and Direct Messages app permission for OAuth 1.0a; apps with Read or Read and Write get 403 oauth1-permissions (this now includes send, read/unread, typing, group creation, and the four chat media routes). POST /2/activity/subscriptions with OAuth 1.0a needs the same permission for chat.* and dm.* events. OAuth 2.0 scopes are unchanged.

Changes:

  • xchat/introduction.mdx: auth notes mention OAuth 1.0a and the required permission.
  • xchat/migrate-from-legacy-dms.mdx: OAuth 1.0a tab, welcome messages/surveys mapping row, subscription auth note, and FAQ answers no longer say welcome messages need OAuth 2.0; 403 behavior spelled out.
  • xchat/getting-started.mdx: prerequisites mention OAuth 1.0a.
  • xchat/media.mdx: OAuth 1.0a needs Read, Write and Direct Messages (Read and Write is not enough).
  • xchat/real-time-events.mdx: subscription auth covers OAuth 1.0a.
  • xchat/troubleshooting.mdx: 403 oauth1-permissions row.
  • x-api/activity/introduction.mdx: private-event auth requirements cover OAuth 1.0a and the DM permission for chat.*/dm.*.
  • x-api/account-activity/migrate/aaa-to-xaa-migration.mdx: dm.*/chat.* subscriptions with OAuth 1.0a need the DM permission (overview, steps, example note, FAQ).

openapi.json already lists OAuth 1.0a (UserToken) on every /2/chat and public-key route, so it is unchanged.

@mintlify

mintlify Bot commented Dec 3, 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 3, 2026, 2:26 AM

@tcaldwell-x
tcaldwell-x merged commit d0dab47 into main Dec 3, 2026
3 checks passed

This branch was successfully deployed

1 active deployment
staging — 8e5679b3 Deployed Dec 3, 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