← Integrations

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

Key endpoints

POST/posts
Publish a tweet or full thread.
GET/inbox
Mentions, replies, and DMs in one feed.

Built 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