X launches encrypted Chat API for bots and AI agents
The open-source SDK supports six languages, while X is offering pay-per-use accounts a temporary allowance of 500 messages per day.
By Ryan Merket · Published
Primary source: X Developers
Why it matters
X is turning its encrypted inbox into a programmable distribution channel. The pricing and consent rules favor support bots and requested AI assistants over unsolicited automation.

X opened its encrypted direct-messaging system to outside developers on July 30th, launching an API and software development kit for building customer-support bots, automated services and AI agents inside X Chat.
In a two-post announcement on X, X said pay-per-use accounts can process up to 500 messages per day at no charge for a limited time. X did not specify an end date for the promotion. The allowance does not appear on X's public pricing page, which lists received chat events at $0.01 apiece and sent chat events as unbilled.…
When you purchase through links in our articles, we may earn a small commission. This doesn’t affect our editorial independence.