update_publication
Update an existing publication across one or multiple social media accounts.
Parameters
id(integer, required): Publication ID (e.g.,123456).post_at(string, required): Scheduled or actual publication date and time in ISO 8601 format (e.g.,2025-06-28T15:00:00+03:00).delete_at(string, optional): Scheduled date and time for automatic post deletion (e.g.,2025-07-05T15:00:00+03:00).rubric_id(integer, optional): Rubric ID (e.g.,17289).account_ids(array, required): List of account IDs where the post will be published (e.g.,[4, 7, 10]).publication_status(integer, required): One of the following:4: draft5: waiting for publication10: template11: workflow stage12: on approval
details(array, required): A list of objects containing publication details for each account or group of accounts.
Details Object
account_id(integer, optional): Specific account ID for these details.publication_type(integer, required):1(post),2(story),4(reels/shorts/clips).content(string, optional): Publication text.comment(string, optional): First comment to the publication.link(string, optional): External link.title(string, optional): Publication title.tiktok_comment(boolean, optional): Allow comments on TikTok.tiktok_duet(boolean, optional): Allow duets on TikTok.tiktok_stitch(boolean, optional): Allow stitch on TikTok.tiktok_privacy_status(integer, optional): TikTok privacy:1(public),2(friends),3(private).youtube_privacy_status(integer, optional): YouTube privacy:1(public),2(unlisted),3(private).x_reply_settings(integer, optional): X reply settings:1(everyone),2(people you follow),3(only people you mention).instagram_share_to_feed(boolean, optional): Share to Instagram feed.instagram_trial_reels_graduation_strategy(integer, optional): Instagram trial reels graduation strategy:1(manual),2(performance-based).nsfw(boolean, optional): NSFW label (adult content).file_ids(array, optional): List of file IDs.location(object, optional): Geolocation.facebook_id(integer, required)lat(number, required)lng(number, required)name(string, required)description(string, optional)
Example Request
curl -X POST https://mcp.postmypost.io/v1 \
-H "Authorization: Bearer <your-api-token>" \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "update_publication",
"arguments": {
"id": 123456,
"post_at": "2025-06-28T15:00:00+03:00",
"account_ids": [4, 7],
"publication_status": 5,
"details": [
{
"publication_type": 1,
"content": "Updated content of the publication!",
"file_ids": [10293]
}
]
}
}
}'