social
X (Twitter) integration
Tweet, thread, and reply on the v2 API without managing your own app keys.
Overview
Authenticate users with OAuth 2.0, then publish single tweets, threads, replies, and quote-tweets. Stream mentions and DMs through webhooks instead of polling.
Quick start
blazto.tsTypeScript
import { Blazto } from "@blazto/node";
const blazto = new Blazto(process.env.BLAZTO_API_KEY);
// Connect a X account through hosted OAuth
const { url } = await blazto.accounts.connect({ platform: "x" });
// Publish from your app
await blazto.posts.create({
text: "Shipping today.",
platforms: ["x"],
});What you can do
- ✓Post single tweets, threads, and quote-tweets
- ✓Reply to mentions through the inbox endpoint
- ✓Stream new mentions and DMs via webhook
- ✓Pull impressions and engagement per post
Key endpoints
POST
Publish a tweet or full thread./postsGET
Mentions, replies, and DMs in one feed./inboxBuilt for
Founder tools
Cross-post from one editor to X and beyond.
Support inboxes
Reply to X mentions inside your help desk.
Related integrations
Ship the X (Twitter) integration today
One API key, one SDK, every platform you need.
Start for free