Publish and verify a post
Select the account, validate the destination, submit a post, retain its ID, and verify the final result without duplicate writes.
Scope: external assistants using MCP or REST, including n8n and Make HTTP requests. Publishing requires paid access, a connected social account, and the user's authorization for the content and destination. For website actions, use Create posts.
Prompt for your assistant:
Publish this post to my selected Blotato account. First list my accounts and confirm the destination from my request. Check the platform requirements, submit the post, and return its final status and public URL.
Using MCP
The following text-only X example illustrates the complete path. Replace example IDs and text with the customer's requested destination and approved content. Other platforms have different requirements.
Call
blotato_list_accountswith{"platform":"twitter"}. The result is an account array, not REST'sitemswrapper:
[
{
"id": "98432",
"platform": "twitter",
"fullname": "Example account",
"username": "example",
"subaccounts": [],
"requiredFields": {}
}
]Match the requested account. An empty list confirms authentication but requires connecting an account in Accounts. Multiple matching destinations require clarification before a write.
Call
blotato_create_post:
Read the tool result, including
isError,status, and any error text. If processing continues, retainpostSubmissionIdand callblotato_get_post_statusat least 10 seconds later:
Follow the result table below. The create tool waits internally for up to 20 seconds. It might return a completed result without another status request. Do not submit the same post again to check progress.
Adapt the destination
Call
blotato_list_accountsto findaccountIdand any Page IDs.Read the destination's platform guide. For Pinterest, call
blotato_list_pinterest_boardsto getboardId.Supply public media URLs, or complete the local upload.
Call
blotato_create_postwith the account, platform, content, and required platform fields.If the returned status is
in-progress, callblotato_get_post_statuswith the returnedpostSubmissionId, waiting at least 10 seconds between checks.Return
publishedand the suppliedpublicUrl, or explainfailedand itserrorMessage.
The create tool waits internally for up to 20 seconds. Another create call starts another submission. Continue unfinished work with the status tool.
Using REST
Fetch
GET /v2/users/me/accountsand any required subaccounts or Pinterest boards.Send
POST /v2/postsusing the Publish Post schema.Save
postSubmissionIdfrom the response.Poll
GET /v2/posts/:postSubmissionIdaccording to the completion rules.
Set post.content.platform and post.target.targetType to the same platform. Each create request has one account and destination.
Complete REST example
Send
GET https://backend.blotato.com/v2/users/me/accounts?platform=twitterwith theblotato-api-keyheader. Select the matchingitems[].idasaccountId.Send this body to
POST https://backend.blotato.com/v2/postswith the same auth header andContent-Type: application/json:
Save the accepted response's
postSubmissionId:
Send
GET https://backend.blotato.com/v2/posts/a1b2c3d4-e5f6-7890-abcd-ef1234567890with the auth header. Use the ID from step 3, not the example ID. Wait at least 10 seconds between status requests.
Completion and recovery
The status endpoint returns the same state vocabulary used by the MCP status tool:
published
Report success and the returned publicUrl when supplied. Do not construct a guessed URL.
failed
Stop. Read errorMessage, correct the cause, and obtain authorization for any new submission outside the original request.
in-progress
Poll the saved ID with a waiting limit. Report the ID and unresolved state if the limit is reached.
scheduled
Report the returned scheduledTime. Do not describe it as published.
No response or an uncertain write
Inspect the Logs and existing work before creating again.
For media, complete upload and validation before creating the post. For Instagram, Facebook, TikTok, Pinterest, YouTube, or LinkedIn, use the platform-specific request, including required media and destination fields.
Cross-post
Select the accounts requested by the user.
Adapt the media and target fields for each platform.
Create a separate submission for each destination.
Track each submission ID and report each outcome separately.
A success on one platform does not establish success on another. For publishing later, use Scheduling.
Last updated