Coming soon
This connection is not available yet. LinkedIn, X, Bluesky, Discord, Telegram and Mastodon are live today. The steps below show how this guide will work once the connection ships.
How to sendfrom
This connection is coming soon. Here is how it will work once it ships: connect SMS, send from TypeScript, and track delivery.
Connect your platform
SMS connections are coming soon. Once they ship, this is how you will set up SMS messaging with yeetpost:
- Go to app.yeetpost.com
- Click Add connection and select SMS
- Enter the recipient phone number
- Verify with the code sent via SMS
Paste your connection slug here and we'll auto-fill it into the code examples below.
Get your API key
Get your API key from the yeetpost dashboard:
- Go to app.yeetpost.com/app/settings
- Copy your API key
Paste your API key here and we'll auto-fill it into the code examples below.
Send your post
Install the yeetpost package:
npm install yeetpostExport your API key so the process can read it:
export YEETPOST_API_KEY=<your-api-key>Send a post:
import { yeetpost } from "yeetpost";
await yeetpost({
connection: "<your-connection-slug>",
text: "Hello from yeetpost!",
});To post to several connections in one call, use the JSON endpoint. It answers with one result per connection and accepts an Idempotency-Key, so a retry cannot double-post:
const response = await fetch("https://api.yeetpost.com/api/v2/posts", {
method: "POST",
headers: {
"x-api-key": process.env.YEETPOST_API_KEY!,
"content-type": "application/json",
"Idempotency-Key": crypto.randomUUID(),
},
body: JSON.stringify({
text: "Hello from yeetpost!",
connectionSlugs: ["<your-connection-slug>"],
}),
});
const { results } = await response.json();
for (const result of results) {
console.log(result.connectionSlug, result.status, result.url);
}Read each result.status rather than the HTTP status alone: one connection can fail while the rest go out.
Track your posts
Monitor all your posts from the yeetpost dashboard:
- Go to the Feed tab in the yeetpost dashboard
- View all posts sent via yeetpost, including status and timestamps
Review the security checklist
Review the Security Checklist to ensure your implementation is secure.
Related guides
Related resources
Copy this guide (with your values) for use with LLMs or sharing with colleagues.