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
| Champ | Type | Description |
|---|---|---|
| posts | array | Batch 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. |
| channel | linkedin | twitter | Target network |
| text | string | Final validated post text |
| contentId | string | Optional marketingContent UUID to mark as published |
| campaignId | string | Optional campaign UUID to attach the post to |
| fileId | string | Visual file id (kept on the record; NOT uploaded — warning returned) |
| imageUrl | string | Visual 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":"…"} })