Alle Setups
Zapier
Ein Zap, der eine Datei hochlädt und postet. Drei Webhook-Schritte.
Was du baust
- Starte mit einem beliebigen Zap-Trigger, zum Beispiel einer neuen Tabellenzeile.
- Füge einen Webhooks by Zapier Custom Request hinzu. POST https://api.post-uno.com/v1/media/upload-url mit {"fileName","contentType"}, um s3Key und uploadUrl zu bekommen.
- Füge einen zweiten Webhooks-Schritt hinzu, der die Datei-Bytes per PUT an uploadUrl sendet.
- Füge einen dritten Webhooks-Schritt hinzu. POST https://api.post-uno.com/v1/posts mit diesem s3Key.
- Setze Authorization=Bearer YOUR_API_KEY und Content-Type=application/json in jedem Schritt.
- Ordne Trigger-Felder dem JSON zu, führe einen Test aus und speichere die jobId, die zurückkommt.
Request-Body
{
"profileId": "3f8c1e42-9b0a-4d77-8e21-5c6f0a1b2d3e",
"s3Key": "uploads/1735689600000-video.mp4",
"postType": "video",
"caption": "New post from Zapier",
"platforms": ["x", "linkedin", "threads"]
}profileId ist eine UUID, die deinem API-Key gehört. Kopiere sie aus profile_id von einem beliebigen Konto, das GET /v1/accounts zurückgibt. Ein Profil, das nicht deins ist, fehlt oder keine UUID ist, kommt immer als 404 { "error": "Profile not found" } zurück.