Authentifizierung
Alle API-Anfragen müssen deinen API-Key im X-API-Key Header enthalten.
curl -X GET "https://api.postarmory.com/api/posts" \ -H "X-API-Key: pa_your_api_key_here"
Posts abrufen
Gibt eine Liste aller deiner Posts zurück, inklusive Status und Plattform-Metriken.
GET /api/posts/
Post erstellen
Erstelle einen neuen Post für eine oder mehrere Plattformen.
POST /api/posts/
{
"content": "Hello World! 🚀 #PostArmory",
"platforms": ["twitter", "linkedin", "facebook"],
"scheduled_at": "2024-12-24T12:00:00Z",
"media": ["https://example.com/image.jpg"]
}Post löschen
Löscht einen Post aus der Datenbank und (falls noch nicht veröffentlicht) aus der Hermes-Queue.
DELETE /api/posts/{post_id}Unterstützte Plattform-IDs
twitter Twitter / Xfacebook Facebook Pageinstagram Instagram Businesslinkedin LinkedIn Profile