The base URL for the Partner API is
https://api.wpcursor.com/api/partner/v1.
Authenticate every request with the X-Partner-Key header.1
Check your key
Confirm the key works and see the scopes it carries.
2
Provision a customer account
Create an account for a customer, keyed by your own reference. This call is
idempotent on Keep the
externalRef: send it again and you get the same account back
with existing: true, never a duplicate.licenseKey: your customer uses it to activate the WPOS plugin on
their site.3
Connect a site
Your customer installs the WPOS plugin on their WordPress site and activates
it with the license key from the previous step. See
Install the plugin. Once the plugin registers, the
site appears on the account and you get a
site.registered webhook.Read the account’s sites to get the siteId you will run jobs against:4
Grant some credits
Build jobs consume credits. Grant the account a balance to work from.
5
Run a build job
Submit a plain-language instruction for the agent to run on the site. The call
returns immediately with a job you poll.
6
Poll for the result
Poll the job until it reaches a terminal status. A finished job carries a
structured summary of what changed.Instead of polling, you can register a webhook and receive a
job.completed event the moment it finishes.Next
Accounts
Plans, credits, status, and sites in depth.
Build jobs
Instructions, context, results, and caps.
Embed the assistant
Put the agent inside your own product.
API reference
Every endpoint, error, and limit.