REST API and MCP Integration
Operate Sorabun from external tools and AI agents
Trigger article generation from outside
The Pro edition includes a REST API. You can trigger article generation from Zapier, Make, your own scripts, or MCP-compatible AI agents.
Authentication
Issue an API key under "Settings > REST API / MCP Integration" and attach it to your request header.
`` X-Sorabun-Key: sbk_xxxxxxxxxxxxxxxx ``
Endpoints
| Method | Path | Purpose |
|---|---|---|
| POST | /wp-json/sorabun/v1/articles | Start article generation |
| GET | /wp-json/sorabun/v1/jobs/<id> | Check a job's status |
| GET | /wp-json/sorabun/v1/jobs | List recent jobs |
The following parameters can be passed in an article generation request.
keyword(required)type: optimization typelength: character countpost_status:draftorpublishcustom_prompt: additional instructions
Handling your API key
Anyone with this key can generate articles. If you register it with an external service, check that service's access controls. If you suspect it's been exposed, you can reissue it from the settings screen.