create_publication
Schedule or create a new publication across one or multiple social media accounts.
Parameters
project_id(integer, required): Project ID.post_at(string, required): Date and time for publication 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.rubric_id(integer, optional): Rubric ID.account_ids(array, required): List of account IDs where the post will be published.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.
Details Object
account_id(integer, optional): Specific account ID for these details.publication_type(integer, required):1(post),2(story),4(reels/shorts).content(string, optional): Publication text.comment(string, optional): First comment.link(string, optional): External link.file_ids(array, optional): List of file IDs to attach.- ... other platform-specific settings (see API docs).
Example Request
curl -X POST https://mcp.postmypost.io/v1/tools/call \
-H "Authorization: Bearer <your-api-token>" \
-H "Content-Type: application/json" \
-d '{
"name": "create_publication",
"arguments": {
"project_id": 123,
"post_at": "2025-06-28T15:00:00+03:00",
"account_ids": [1, 2],
"publication_status": 5,
"details": [
{
"publication_type": 1,
"content": "Check out this awesome update!",
"file_ids": [10293]
}
]
}
}'