API overview
Write Content
write-content
Draft search-ready long-form content from a clear brief and target intent.
Pricing & runtime
- Current price
- 25 Credits per run
- Timeout
- up to 1500s
- Brand Context
- Optional — pass a brand_context_id
Prices are calibrated against real run costs and may change — the credit_cost returned when creating a run is authoritative.
Input parameters
Pass these under the input object of POST /api/v1/runs.
| Key | Type | Required | Label & description |
|---|---|---|---|
| target_keyword | short_text | Required | Target keywordThe keyword the article targets. |
| content_type | select | Optional | Content typeDrives the quality-benchmark weighting.Options: Blog guide, Blog insight, Comparison, Alternatives, Best-of list, Landing page, FAQ page, Use case, Testimonial |
| outline | long_text | Optional | OutlineOptional. Provide one, or let the research design it. |
| word_count_target | number | Optional | Target word countFinal length within ±15%. |
| target_queries | long_text | Optional | Target AI/search queriesEnter one query per line, or separate items with commas. |
Request example
Covers every required field. Optional fields follow the same pattern.
curl -X POST https://api.TODO-APP-DOMAIN/api/v1/runs \
-H "Authorization: Bearer $SUPAMARKETERS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"app_slug": "write-content",
"input": {
"target_keyword": "example text"
}
}'What you get back
A 201 response returns run_no, credit_cost, stream_url and result_url (relative paths). Stream progress from stream_url and fetch the terminal result — summary and output — from result_url. Results stay available for the App's retention window (30 days by default).