REST API

Modifier une publication

Modifier une publication existante

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

Modifier une publication existante. Tous les champs sont optionnels — envoyez uniquement les champs que vous souhaitez modifier.

Cle API (jeton Bearer)

Parametres du corps

ParametreTypeDescription
platformsPlatformType[]Plateformes cibles
contentTypeContentTypeType de contenu
textstringContenu texte de la publication
platformTextsPlatformText[]docs.api.updatePost.paramPlatformTextsDesc
mediaUrlsstring[]docs.api.updatePost.paramMediaUrlsDesc
thumbnailUrlstringdocs.api.updatePost.paramThumbnailUrlDesc
scheduledAtstringDate de reprogrammation (ISO 8601)
timezonestringFuseau horaire IANA
pageIdsstring[]docs.api.updatePost.paramPageIdsDesc
twitterConnectionIdsstring[]docs.api.updatePost.paramTwitterConnectionIdsDesc
linkedinConnectionIdsstring[]docs.api.updatePost.paramLinkedinConnectionIdsDesc
instagramConnectionIdsstring[]docs.api.updatePost.paramInstagramConnectionIdsDesc
tiktokConnectionIdsstring[]docs.api.updatePost.paramTiktokConnectionIdsDesc
youtubeConnectionIdsstring[]docs.api.updatePost.paramYoutubeConnectionIdsDesc
pinterestConnectionIdsstring[]docs.api.updatePost.paramPinterestConnectionIdsDesc
blueskyConnectionIdsstring[]docs.api.updatePost.paramBlueskyConnectionIdsDesc
threadsConnectionIdsstring[]docs.api.updatePost.paramThreadsConnectionIdsDesc
docs.api.updatePost.calloutAllFieldsOptional

Un compte par plateforme

Un seul compte par plateforme est autorise par publication. Vous ne pouvez pas mettre a jour une publication pour inclure plusieurs comptes sur la meme plateforme. Cette restriction est appliquee pour respecter les conditions d'utilisation des plateformes.