Pinterest publishing without rebuilding OAuth, board selection, media publishing, 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 Pinterest account.
const { authorizationUrl } = await kavenio.connect.begin({
platform: "pinterest",
});
// Publish a Pin to the selected board.
await kavenio.posts.create({
content: "New product guide is live.",
publishNow: true,
mediaItems: [
{
type: "image",
url: "https://cdn.example.com/pin.jpg",
altText: "Product guide cover",
},
],
platforms: [
{
platform: "pinterest",
accountId: "acct_pin_123",
platformSpecificData: {
boardId: "board_123",
title: "Product guide",
link: "https://example.com/guide",
},
},
],
});kavenio.connect.begin(...)Create a Pinterest connect URL and send the user through OAuth for the account they want to publish from.
kavenio.posts.create(...)Publish now or schedule a Pin for the selected Pinterest account, board, media, and destination link.
kavenio.webhooks.create(...)Trigger your automation when a Pin publishes, fails, or needs attention instead of polling for state.
Send users through Pinterest OAuth once and work with the boards their connected account can publish to.
Publish to a specific board in the request, or use the default board selected during account setup.
Create Pins from public image or video URLs without building separate upload flows in your product.
Schedule Pins, publish now, and trigger automation from status events instead of polling provider APIs.
Start testing Pinterest connection, board access, and Pin publishing without configuring your own Pinterest app first.
Use your Pinterest app credentials when your team owns approvals, branding, and policy setup.
Stop rebuilding Pinterest OAuth, board selection, media publishing, retries, and status handling for every product surface.
Yes. Connect a Pinterest account, pass the media URL, and publish a Pin through the same posts API used for other platforms.
Pass a board ID in the request, or rely on the default board selected for the connected Pinterest account.
Yes. Send a public video URL and the publish workflow can create a Pinterest video Pin.
Yes. Use HTTPS destination links. Shortened URLs should be expanded before publishing.