Posts
Erstellen, Lesen und Veröffentlichen von Social- und Google-Unternehmensprofil-Beiträgen.
Liefert Beiträge für einen Standort, zuletzt erstellte zuerst, mit dem Übermittlungsstatus je Plattform und zusammengefassten Kennzahlen.
Beiträge auflisten
/api/v1/posts{
"data": {
"rows": [
{
"id": "cm_post_abc123",
"name": "Fall Special Announcement",
"type": "announcement",
"status": "scheduled",
"postDate": "2026-02-10T15:00:00.000Z",
"platforms": [
"google",
"facebook"
],
"firstMediaUrl": "https://cdn.synup.com/uploads/a1/promo.jpg",
"firstMediaType": "image",
"submissions": [
{
"platform": "google",
"status": "pending",
"postLink": null,
"reviewState": null,
"errorMessage": null
},
{
"platform": "facebook",
"status": "pending",
"postLink": null,
"reviewState": null,
"errorMessage": null
}
],
"messagePreview": "Join us this weekend for our fall special — 20% off all services!",
"views": null,
"clicks": null,
"errorMsg": null,
"deletedOn": null
}
],
"total": 1,
"stats": {
"totalPosts": 12,
"totalViews": 4300,
"totalClicks": 210,
"totalEngagement": 96
}
}
}Erstellt einen Beitrag für einen Standort oder Kunden und übermittelt ihn an die ausgewählten Plattformen. Dies veröffentlicht echten Inhalt: Sofern nicht scheduledFor gesetzt oder draft true ist, geht der Beitrag sofort auf seinen Zielplattformen live. Eine angeforderte Plattform ohne aktive Verbindung, oder ein Beitrag, dem ein für die Veröffentlichung erforderliches Feld fehlt, lässt den Aufruf nie fehlschlagen — der Inhalt wird stattdessen als Entwurf gespeichert; siehe das Antwortschema dafür, wie das gemeldet wird.
Beitrag erstellen
/api/v1/posts{
"data": {
"id": "cm_post_abc123",
"status": "scheduled"
}
}Liefert eine zusammengefasste Interaktionsanalyse — Gesamtsummen, eine Aufschlüsselung je Plattform, Verlaufsreihen und Top-Beiträge — über die Marken-Plattformverbindungen eines Kunden hinweg.
Beitragsanalysen abrufen
/api/v1/posts/analytics{
"data": {
"summary": {
"totalPosts": 18,
"totalViews": 5400,
"totalReactions": 320,
"totalShares": 44,
"totalComments": 61,
"periodDays": 30
},
"prevSummary": {
"totalPosts": 14,
"totalViews": 4100,
"totalReactions": 260,
"totalShares": 30,
"totalComments": 48
},
"byPlatform": [
{
"platform": "facebook",
"label": "Facebook",
"totalPosts": 10,
"totalViews": 3200,
"totalReactions": 210,
"totalShares": 30,
"totalComments": 40
},
{
"platform": "instagram",
"label": "Instagram",
"totalPosts": 8,
"totalViews": 2200,
"totalReactions": 110,
"totalShares": 14,
"totalComments": 21
}
],
"prevByPlatform": [
{
"platform": "facebook",
"label": "Facebook",
"totalPosts": 8,
"totalViews": 2500,
"totalReactions": 170,
"totalShares": 20,
"totalComments": 32
}
],
"trend": {
"dates": [
"2026-01-15",
"2026-01-16"
],
"series": [
{
"platform": "facebook",
"label": "Facebook",
"values": [
4,
6
]
}
]
},
"engagementTrend": {
"dates": [
"2026-01-15",
"2026-01-16"
],
"series": [
{
"platform": "facebook",
"label": "Facebook",
"views": [
180,
210
],
"reactions": [
12,
15
],
"shares": [
2,
3
],
"comments": [
4,
5
],
"reach": [
900,
1100
]
}
]
},
"postsTrend": {
"dates": [
"2026-01-15",
"2026-01-16"
],
"series": [
{
"platform": "facebook",
"label": "Facebook",
"values": [
1,
2
]
}
]
},
"allPosts": [
{
"submissionId": "cm_sub_xyz789",
"platform": "facebook",
"platformPostId": "1234567890",
"postLink": "https://www.facebook.com/1234567890",
"publishedAt": "2026-01-16T14:00:00.000Z",
"contentPreview": "Join us this weekend for our fall special — 20% off all services!",
"totalViews": 890,
"totalReactions": 42,
"totalShares": 6,
"totalComments": 9,
"totalReach": 1450,
"engRate": 0.064
}
]
}
}Liefert einen einzelnen Beitrag samt seiner Übermittlungsleistung je Plattform.
Beitrag abrufen
/api/v1/posts/{id}{
"data": {
"id": "cm_post_abc123",
"name": "Fall Special Announcement",
"type": "announcement",
"status": "scheduled",
"postType": "announcement",
"clientId": "cm_client_1",
"locationId": "cm_loc_1",
"locationName": "Acme Dental — Downtown",
"clientName": "Acme Dental",
"platforms": [
"google",
"facebook"
],
"messageGoogle": "Join us this weekend for our fall special — 20% off all services!",
"messageFacebook": "Join us this weekend for our fall special — 20% off all services!",
"ctaType": "learn_more",
"ctaUrl": "https://acmedental.example.com/fall-special",
"ctaUrlFacebook": null,
"xThread": false,
"ctaJson": {
"ctaType": "learn_more",
"ctaUrl": "https://acmedental.example.com/fall-special",
"ctaUrlFacebook": null,
"xThread": false
},
"mediaUrls": [
{
"url": "https://cdn.synup.com/uploads/a1/promo.jpg",
"platform": "facebook",
"type": "image"
}
],
"eventTitle": null,
"eventStartAt": null,
"eventEndAt": null,
"offerTerms": null,
"offerCouponCode": null,
"offerRedeemUrl": null,
"scheduledFor": "2026-02-10T15:00:00.000Z",
"createdAt": "2026-01-20T09:12:00.000Z",
"performance": [
{
"submissionId": "cm_sub_xyz789",
"connectionId": "cm_conn_1",
"site": "facebook",
"views": 890,
"clicks": null,
"reactions": 42,
"shares": 6,
"comments": 9,
"status": "active",
"platformPostId": "1234567890",
"postLink": "https://www.facebook.com/1234567890",
"reviewState": null,
"errorMessage": null
}
]
}
}Aktualisiert einen bearbeitbaren Beitrag (draft, scheduled, error oder active) und gleicht seine Plattformübermittlungen entsprechend ab. Ist der Beitrag nicht geplant und nicht als Entwurf gespeichert, kann dies bereits Live-Inhalte auf seinen Plattformen veröffentlichen oder ändern.
Beitrag aktualisieren
/api/v1/posts/{id}{
"data": {
"id": "cm_post_abc123",
"name": "Fall Special Announcement (updated)",
"type": "announcement",
"status": "scheduled",
"postType": "announcement",
"clientId": "cm_client_1",
"locationId": "cm_loc_1",
"platforms": [
"google",
"facebook"
],
"messageGoogle": "Join us this weekend — now 25% off all services!",
"messageFacebook": "Join us this weekend — now 25% off all services!",
"ctaType": "learn_more",
"ctaUrl": "https://acmedental.example.com/fall-special",
"ctaUrlFacebook": null,
"xThread": false,
"ctaJson": {
"ctaType": "learn_more",
"ctaUrl": "https://acmedental.example.com/fall-special",
"ctaUrlFacebook": null,
"xThread": false
},
"mediaUrls": [
{
"url": "https://cdn.synup.com/uploads/a1/promo.jpg",
"platform": "facebook",
"type": "image"
}
],
"eventTitle": null,
"eventStartAt": null,
"eventEndAt": null,
"offerTerms": null,
"offerCouponCode": null,
"offerRedeemUrl": null,
"scheduledFor": "2026-02-10T15:00:00.000Z",
"createdAt": "2026-01-20T09:12:00.000Z",
"performance": []
}
}Zieht einen Beitrag von jeder Plattform zurück, an die er übermittelt wurde — eine echte, sofortige Aktion, die nicht rückgängig gemacht werden kann. Erst wenn der Rückzug auf jeder Plattform erfolgreich war, verschwindet der Beitrag auch aus dieser API; schlägt eine Plattform fehl, wird nichts archiviert und der Beitrag bleibt sichtbar, damit der Fehler wiederholt werden kann. Diese API löscht den Beitragsdatensatz niemals dauerhaft.
Beitrag zurückziehen und löschen
/api/v1/posts/{id}{
"data": {
"id": "cm_post_abc123",
"ok": true,
"deleted": 2,
"failed": []
}
}Übermittelt einen Entwurfs- oder fehlerhaften Beitrag sofort erneut und wiederholt dabei alle ausstehenden oder fehlgeschlagenen Plattformübermittlungen. Dies sendet jetzt echten Inhalt an die verbundenen Plattformen des Beitrags.
Beitrag jetzt veröffentlichen
/api/v1/posts/{id}/publish{
"data": {
"retrying": 2
}
}