This template publishes one announcement to many connected accounts at once. A single publishing job fans out to one delivery per target account, so you get per-account status without writing a loop.
It is cross-posting without copy and paste: one job, one caption, many connected Instagram and X accounts, and a separate result for each one.
What it uses
GET /social-accountsto collect the target account IDsGET /limitsto skip accounts without remaining allowance before you publishPOST /publishing/jobswith every account intargets: the job fans out to one delivery per accountGET /publishing/jobs/{publishJobId}for the per-account delivery boardPOST /publishing/jobs/{publishJobId}/retryto re-run failed deliveries safely
How it works
- Collect the connected accounts that should receive the announcement.
- Check each account's remaining allowance and list any you skip.
- Create one publishing job with the caption, the public media URLs, and all targets.
- Poll the job and render one line per account: published, retrying, or action required.
- Retry retryable failures. Retries are capped and never produce a duplicate post.
Start from this template
Copy the ready-made agent prompt from the templates page and point your agent at the InvisibleAPI MCP server, or implement the same steps directly against the API. Instagram deliveries go through the Instagram posting API. If a person must approve the announcement first, use the social media approval tool template.
