REST APIPATCH

Beitrag aktualisieren

Aktualisieren Sie einen bestehenden Beitrag

PATCHhttps://post.adaptlypost.com/post/api/v1/social-posts/:id

Einen bestehenden Beitrag aktualisieren. Alle Felder sind optional — senden Sie nur die Felder, die Sie ändern möchten.

API-Schlüssel (Bearer-Token)

Body-Parameter

ParameterTypBeschreibung
platformsPlatformType[]Zielplattformen
contentTypeContentTypeInhaltstyp
textstringTextinhalt des Beitrags
platformTextsPlatformText[]Textspezifische Überschreibungen pro Plattform
mediaUrlsstring[]URLs hochgeladener Mediendateien
thumbnailUrlstringThumbnail-URL für Videobeiträge
scheduledAtstringNeues Planungsdatum (ISO 8601)
timezonestringIANA-Zeitzone
pageIdsstring[]Facebook-/LinkedIn-Seiten-IDs
twitterConnectionIdsstring[]Twitter-Konto-Verbindungs-IDs
linkedinConnectionIdsstring[]LinkedIn-Konto-Verbindungs-IDs
instagramConnectionIdsstring[]Instagram-Konto-Verbindungs-IDs
tiktokConnectionIdsstring[]TikTok-Konto-Verbindungs-IDs
youtubeConnectionIdsstring[]YouTube-Kanal-Verbindungs-IDs
pinterestConnectionIdsstring[]Pinterest-Konto-Verbindungs-IDs
blueskyConnectionIdsstring[]Bluesky-Konto-Verbindungs-IDs
threadsConnectionIdsstring[]Threads-Konto-Verbindungs-IDs
Alle Felder sind optional. Gib nur die Felder an, die du aktualisieren möchtest. Die Antwort gibt das vollständige aktualisierte Beitragsobjekt zurück.

Ein Konto pro Plattform

Pro Beitrag ist nur ein Konto pro Plattform erlaubt. Sie können einen Beitrag nicht so aktualisieren, dass mehrere Konten derselben Plattform enthalten sind. Diese Einschränkung gilt zur Einhaltung der Nutzungsbedingungen der Plattformen.
Einen Social-Media-Beitrag aktualisieren
curl --request PATCH \
  --url https://post.adaptlypost.com/post/api/v1/social-posts/post_xyz789 \
  --header 'Authorization: Bearer <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{
    "text": "Updated post content!",
    "platforms": ["TWITTER", "LINKEDIN"],
    "scheduledAt": "2026-03-15T10:00:00Z",
    "timezone": "America/New_York",
    "twitterConnectionIds": ["conn_abc123"],
    "linkedinConnectionIds": ["conn_def456"]
  }'
200
{
  "id": "post_xyz789",
  "contentType": "TEXT",
  "text": "Updated post content!",
  "status": "SCHEDULED",
  "scheduledAt": "2026-03-15T10:00:00Z",
  "timezone": "America/New_York",
  "platforms": [
    {
      "id": "pp_001",
      "platform": "TWITTER",
      "status": "PENDING",
      "accountName": "@yourhandle"
    },
    {
      "id": "pp_002",
      "platform": "LINKEDIN",
      "status": "PENDING",
      "accountName": "Your Company"
    }
  ],
  "createdAt": "2026-03-14T11:59:00Z",
  "updatedAt": "2026-03-15T08:30:00Z"
}