Instagram publishing without rebuilding account connection, media containers, format routing, queues, and webhook status handling.
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 Instagram account.
const { authorizationUrl } = await kavenio.connect.begin({
platform: "instagram",
});
// Publish to the connected Instagram account.
await kavenio.posts.create({
content: "Behind the scenes from launch week.",
publishNow: true,
mediaItems: [{ type: "image", url: "https://cdn.example.com/launch.jpg" }],
platforms: [
{
platform: "instagram",
accountId: "acct_ig_123",
platformSpecificData: { contentType: "feed" },
},
],
});kavenio.connect.begin(...)Create an Instagram connect URL and send the user through account authorization.
kavenio.posts.create(...)Publish now or schedule an Instagram feed post, Story, Reel, or carousel with the selected connected account.
kavenio.webhooks.create(...)Trigger your automation when Instagram publishing succeeds, fails, or needs attention instead of polling for state.
Send users through Instagram connection once, then publish through the selected Business or Creator account.
Pass public media URLs and let the publish workflow create the right Instagram media container before publishing.
Choose the Instagram content type in the request instead of branching your product workflow by format.
Use webhooks to trigger follow-up automation when an Instagram post publishes, fails, or needs attention.
Start testing Instagram connection and publishing without configuring your own Instagram app first.
Use your Instagram app credentials when your team owns approvals, branding, and policy setup.
Stop rebuilding Instagram connection, media container creation, format handling, retries, and status events for every product surface.
Yes. Connect an Instagram Business or Creator account, pass the media URL, and publish through the same posts API used for other platforms.
Yes. Send a public video URL and set the Instagram content type for Reels when the post should publish as a Reel.
Yes. Use the Instagram content type for Stories and provide the story media URL in the request.
Yes. First comments are supported for Instagram feed posts, carousel posts, and Reels after the media publishes.