Tous les outils

Réseaux sociaux et vidéos · publish_social_post

Publier un post

Publie immédiatement sur la page LinkedIn ou X.

Prix
inclus
Prérequis
Page LinkedIn ou X
à brancher dans Paramètres → Intégrations
Validation humaine
Oui, par défaut
écriture vers l'extérieur : un humain valide

Entrée

ChampTypeDescription
postsarrayBatch publish: the FULL list of posts to publish in one call (preferred whenever there is more than one). Each item takes the same fields as a single post. When provided, the top-level single-post fields are ignored.
channellinkedin | twitterTarget network
textstringFinal validated post text
contentIdstringOptional marketingContent UUID to mark as published
campaignIdstringOptional campaign UUID to attach the post to
fileIdstringVisual file id (kept on the record; NOT uploaded — warning returned)
imageUrlstringVisual URL hint (kept on the record; NOT uploaded — warning returned)

Appeler cet outil

Via l'API HTTP, ou depuis le serveur MCP avec le méta-outil run.

curl https://api.ezyagents.fr/gateway/v1/run \
  -H "Authorization: Bearer ezk_…" -H "Content-Type: application/json" \
  -d '{"tool":"publish_social_post","input":{"posts":[],"channel":"linkedin","text":"…","contentId":"…"}}'
$run({ "tool": "publish_social_post", "input": {"posts":[],"channel":"linkedin","text":"…","contentId":"…"} })