Skip to Content
📘 New: connect any website to SEObox with a signed webhook — see Connect Your Site.
API ReferenceGenerate an Article

Generate an Article

POST /v1/api/generate

Requires x-workspace-id. Starts generating an article in the background and returns straight away.

Request

FieldTypeRequiredNotes
site_uidstringYesThe site’s uid from GET /sites
keywordstringYesTarget keyword, 2–200 characters
secondary_keywordsstring[]NoUp to 10
tonestringNoOverrides the site’s brand-voice tone for this article
curl -X POST https://api.seobox.tech/v1/api/generate \ -H "x-api-key: $SEOBOX_API_KEY" \ -H "x-workspace-id: $SEOBOX_WORKSPACE_ID" \ -H "Content-Type: application/json" \ -d '{ "site_uid": "3f2b8c1e-7d4a-4f6b-9c2e-1a5d8e9f0b3c", "keyword": "how to choose a standing desk", "secondary_keywords": ["standing desk buying guide", "best standing desk height"] }'

Response

202 Accepted:

{ "success": true, "run_id": "…", "blog_uid": "9a7c2e4f-1b3d-4c5e-8f6a-2b4d6e8f0a1c" }

Knowing when it’s done

Either:

The finished article waits in Review like any other. Approve and publish it from the dashboard.

Errors

StatusCodeWhy
402INSUFFICIENT_CREDITSNot enough credits left. Top up in Billing.
429RATE_LIMIT_EXCEEDEDDaily articles-per-site limit reached, or more than 60 requests/min.
400VALIDATION_ERRORCheck details for the field that failed.
Last updated on