Documentation menu
Getting startedOverviewQuickstartAccount and sign-inChannelsConnect channelsPublishingComposerCalendar and schedulingMedia and picture editorAI assistantGrow and automateAnalyticsAutomationsTeamsWorkspaces and teamsReferenceLimitsTroubleshootingDevelopersOverviewREST APIAPI: postsAPI: media, analytics, AIMCP serverCLI and agent skillWebhooksREST API
JSON over HTTPS.
| Base URL | https://yeetzo.xyz/api/v1 |
|---|---|
| Auth | Authorization: Bearer yz_... (create keys in App > Developers) |
| Rate limit | 300 requests per hour |
Endpoints
| Request | Does |
|---|---|
GET /channels | List connected channels |
GET /posts | List posts |
POST /posts | Create a draft, publish or schedule |
GET /posts/{id} | Read one post |
PUT /posts/{id} | Change a post |
DELETE /posts/{id} | Delete a post |
GET /media | List media |
POST /media | Upload a file or fetch a URL |
GET /analytics | Followers and engagement |
POST /ai/write | AI text |
POST /ai/image | AI image |
Errors
Failed requests return a 4xx status and a body that says why:
{"ok": false, "error": "Send a valid API key: Authorization: Bearer yz_..."}Check the ok field and show error to the person running your script.
List channels
curl https://yeetzo.xyz/api/v1/channels -H "Authorization: Bearer $YEETZO_API_KEY"{
"ok": true,
"channels": [
{"id": 1, "network": "bluesky", "name": "...", "limit": 300, "group": "..."}
]
}Use the id values when you create posts. limit is the text limit for that channel.
JavaScript example
const base = 'https://yeetzo.xyz/api/v1';
const headers = { Authorization: `Bearer ${process.env.YEETZO_API_KEY}` };
const res = await fetch(`${base}/channels`, { headers });
const data = await res.json();
if (!data.ok) throw new Error(data.error);
console.log(data.channels);Python example
import os, requests
base = "https://yeetzo.xyz/api/v1"
headers = {"Authorization": f"Bearer {os.environ['YEETZO_API_KEY']}"}
data = requests.get(f"{base}/channels", headers=headers, timeout=30).json()
if not data["ok"]:
raise SystemExit(data["error"])
print(data["channels"])