Threads API for developers and AI agents

Threads publishing without rebuilding account connection, reply-chain composition, media handling, queues, and webhook status events.

No credit card required

import { KavenioClient } from "@kavenio/sdk";

const kavenio = new KavenioClient({
  authToken: process.env.KAVENIO_API_KEY,
});

// Send your user to this URL to connect their Threads account.
const { authorizationUrl } = await kavenio.connect.begin({
  platform: "threads",
});

// Publish a reply chain to the connected Threads account.
await kavenio.posts.create({
  publishNow: true,
  platforms: [
    {
      platform: "threads",
      accountId: "acct_threads_123",
      platformSpecificData: {
        topicTag: "Launch_2026",
        threadItems: [
          { content: "Shipping product updates from one API." },
          { content: "Status events keep automation in sync." },
        ],
      },
    },
  ],
});

How it works

Connect the account, publish to a selected Threads profile, and run the workflow with REST, the CLI, or the SDK.
  1. kavenio.connect.begin(...)

    Create a Threads connect URL and send the user through authorization for the account they want to publish from.

  2. kavenio.posts.create(...)

    Publish now or schedule a Threads post, topic-tagged post, media post, or reply chain for the selected connected account.

  3. kavenio.webhooks.create(...)

    Trigger your automation when Threads publishing succeeds, fails, or needs attention instead of polling for state.

Formats

Publish the Threads formats your product needs

Let customers publish text, media, topic-tagged posts, and reply chains without building a separate Threads-only publishing path.
Text posts
Reply chains
Topic tags
Image posts
Video posts
Carousel media
Developer workflow

Build Threads publishing without provider plumbing

Keep your product focused on the customer workflow while the API handles account connection, reply-chain publishing, media, and status changes.

Account connection and tokens

Send users through Threads connection once, then publish through the selected connected account.

Reply-chain composition

Create multi-post Threads reply chains with `threadItems` instead of modeling provider publish steps in your app.

Media and topic handling

Attach supported image or video media and pass a Threads topic tag when the post needs one.

Queue and webhooks

Schedule posts, publish now, and trigger automation from status events instead of polling provider APIs.

App keys

Bring your own Threads app when you need control

Use the Kavenio-managed Threads app to get started, or connect through your own Threads app when your team owns approvals, branding, and policy setup.

Use the Kavenio-managed Threads app

Start testing Threads connection and publishing without configuring your own Threads app first.

Bring your own Threads app

Use your Threads app credentials when your team owns approvals, branding, and policy setup.

Build the Threads publishing workflow once

Stop rebuilding account connection, reply-chain publishing, media handling, retries, and status events for every product surface.

Reuse the same connect and publishing workflow for the next supported platform.

Threads API questions

Practical details for building Threads publishing into your product.

Can I publish Threads posts through Kavenio?

Yes. Connect a Threads account and publish through the same posts API used for every supported social platform.

Can I publish a Threads reply chain?

Yes. Pass `threadItems` and the publish workflow creates each item in order as a connected reply chain.

Can I attach media to Threads posts?

Yes. Threads publishing supports public image and video URLs, including media inside thread items.

Can I pass a Threads topic tag?

Yes. Use the Threads platform-specific data to pass a topic tag for the first item in the post or reply chain.