Updating the same block pattern on 200 WordPress sites used to mean 200 logins. Now it is one API call. The developer API can run WP-CLI commands on your sites: on one site, or the same command on up to 200 sites in a single request.
There is no SSH and no shared login between your accounts. Each command runs inside that site’s own hosting account, with that site’s rights, as if you had typed wp there yourself.
How it works
- You send the command. The arguments go in as a list, without the leading
wp. Page content, a pattern or a template part travels in the same request, and WP-CLI reads it from-. - We queue it and answer at once with a run id. Nothing waits on an open connection, so a command can take minutes if it needs to.
- The result comes back to you. Register a webhook and we POST every finished command to your own https endpoint, signed, with its exit code and output. Or poll: one run, a whole batch, or everything finished since your last check.
Commands for the same site run one at a time, in the order you sent them. Commands for different sites run side by side. In our own tests a quick command came back in about 4 seconds, and a batch of 200 sites was done in under a minute.
curl -X POST https://api.ip-networx.com/v1/sites/example.com/wordpress/cli \
-H "Authorization: Bearer ipxapi_your_token_here" \
-H "Content-Type: application/json" \
-d '{"args": ["post", "update", "42", "-"], "input": "<!-- wp:paragraph --><p>Spring offer: 20% off.</p><!-- /wp:paragraph -->"}'What you can run
- Content: pages, posts, synced patterns, templates and template parts, post meta, terms, menus, widgets, media imports.
- Plugins and themes: install, update, activate, deactivate, delete. Install from wordpress.org, or from an https link to your own zip.
- Core and upkeep: core updates, language packs, cache and rewrite flushes, transients, cron events, maintenance mode.
- Options and search-replace, on the site’s own tables.
Some commands stay closed: eval, shell, db, config, user, and anything that would reach past the site’s own account. The siteurl and home options stay with us too, because your domain, SSL and staging depend on them.
Limits
30 calls a minute per team (all tokens together), 200 sites per batch, 5 minutes per command, and about 120 KB per command after compression, which fits a few hundred KB of page markup. If your rollout needs more, tell us and we raise them for your team.
Getting started
WP-CLI is switched on per team. Open a ticket and we turn it on for yours. Then give a token the wordpress:cli scope (plus webhooks if you want webhooks). The full guide, with every allowed command and how to check a webhook signature, is in your panel’s help centre under WP-CLI and Webhooks. The endpoint reference is public in the API reference.
You stay in charge of what your commands do. Deleting posts or running search-replace changes a site for real, so try a command on one site first, then roll it out. Every account is backed up daily.
IP NetworX is web hosting you buy in sites. Every site lands on a different server, in a different location, with its own nameserver, so none of them look related. See how per-site pricing works.
