API Guide
The Techne REST API lets you generate, schedule, and publish content across Techne Blog, Webflow, WordPress, LinkedIn, Twitter/X, and Facebook.
Authentication
All requests require a workspace API key in the Authorization header.
Where to find your API key
- Open Settings > API (direct link). If you do not see the API tab, ask an account Owner or Admin to create the key for you (only Owners and Admins can manage API keys).
- Click Create API Key, name it, and copy the value shown. It starts with
tk_and is displayed only once. - Paste it into your integration as the
Authorization: Bearervalue below.
Keys are scoped to one workspace and shown only once when created.
Endpoint Summary
| Method | Path | Purpose |
|---|---|---|
| POST | /api-publish | Generate content and trigger publish flow. |
| GET | /api-publish?query=platforms | List currently connected platforms. |
| GET | /api-publish?query=authors | List Webflow authors for author mapping. |
| GET | /api-publish?query=requirements&platform=webflow | Inspect required/optional fields by platform. |
| GET | /api-submit-content?query=schema | Fetch the Techne Doc JSON schema and examples. |
| POST | /api-submit-content | Submit content you already wrote as a Techne Doc. |
| PATCH | /api-submit-content | Update a submitted document, optionally re-publishing it. |
Submit content you already wrote
When your agent writes the piece itself, skip generation and send a structured Techne Doc. Techne stores your words verbatim, links each reference inline on its claim, renders a Sources section, and distributes to every connected channel.
Omit publishing.platforms to inherit your workspace Publishing Defaults. Any per-platform social copy you supply is kept as-is; blank platforms get copy generated for them. Fetch the full field list any time with GET /api-submit-content?query=schema.
Images for submitted content
Most agents write words, not pictures. Every Techne Doc resolves exactly one featured image, in this order:
media.featured_image_url: an image you already have. Free, and it wins over generation.media.generate_image: true: Techne generates one with AI. Costs one image credit. Addmedia.image_promptfor art direction, or leave it out and Techne builds the prompt from your title, business context, and workspace image style.- Video documents fall back to the YouTube or Vimeo thumbnail automatically. Override it with
video.thumbnail_url. Free. - Field omitted: your workspace "generate featured image" publishing default decides. Webflow and Pinterest still generate an image when nothing else is available, because those channels require one.
media.generate_image: false: no image at all, unless a video thumbnail exists.
The response always includes an image block naming which branch ran, so you can tell whether credits were spent. Swapping or regenerating later works the same way throughPATCH /api-submit-content.
Create and publish content
Send a POST request to create content and start publishing:
External platform publishing runs in the background. The initial response returns quickly with apublishing_status.
Request body
| Field | Type | Notes |
|---|---|---|
| prompt | string | Required. Minimum 3 characters. |
| platforms | string[] | Optional. Defaults to ["techne"]. |
| tone | string | Optional. Defaults to "professional". |
| tags | string[] | Optional post tags. |
| webflow_author_id | string | Required when publishing to Webflow. |
| generate_image | boolean | Optional. Auto-true when publishing to Webflow. |
| schedule_at | string | Optional ISO-8601 datetime for scheduled publish. |
| brand_profile_id | uuid | Apply a saved brand profile's tone, tags, target_keywords, backlinks, and aio_optimize as defaults. |
| target_keywords | string[] | SEO keywords woven naturally into the post. Overrides brand-profile / workspace defaults. |
| backlinks | object[] | Each item: { url, anchor?, description?, rel? }. Use rel="sponsored" for affiliate links, rel="nofollow" to skip SEO signals. |
| backlink_strategy | string | "natural" (inline weaving), "reference" (Further reading list), or "off". Default "natural". |
| max_backlinks | number | Cap 0-10. Default 3. |
| aio_optimize | boolean | Agent-Optimized Content structure (direct-answer intro, FAQ, semantic H2s). |
Response behavior
The API is optimized for quick responses. For non-Techne targets, publish jobs continue asynchronously.
publishing_status can be published, in_progress, or scheduled.
Platform discovery queries
Common status codes
| Code | Reason |
|---|---|
| 401 | Missing, invalid, or revoked API key. |
| 402 | No active subscription on the account. |
| 403 | API key user has viewer-only workspace role. |
| 429 | Monthly credit limit reached. |
| 500 | Unexpected server or generation error. |
Related
Want to drive this API from AI agents instead of raw HTTP requests? See the MCP Server guide.
