Create a draft
Save an EXACT, ready-to-publish post as a draft from text you (the assistant) wrote yourself. This is the ONLY way to create a post: the server never generates copy and spends no AI credits — the body is stored verbatim, in whatever language you wrote it (only deterministic typography cleanup is applied unless deslop:false). It guarantees the language and wording you intended. The result is a DRAFT only — nothing is published until schedule_post is confirmed, so the operator stays in full control. Call it once, for text the operator has already approved: iterate on wording with preview_post(text) first. Each call creates a NEW draft that shows up in the team's review queue, and saved drafts cannot be edited here, so saving every revision floods the queue with near-identical drafts. To attach media, pass public direct-download links in imageUrls / videoUrls / audioUrls: the server fetches them and publishes the post with the media attached. If any link fails to download, NO draft is created — fix the link and retry. Note: a post with media is a caption (1024-char limit, checked by preview_post). Tracks (audioUrls) go out as music and cannot share a post with photos or videos; they need rightsConfirmed:true, which you may set only after the operator confirmed they hold the rights to publish those tracks.
Request
- Base URL: https://awraiter.ai
- URL: https://awraiter.ai/api/v1/create_post_from_text
- Auth: HTTP bearer
Headers
Retry key (≤ 200 characters). A repeated call with the same key returns the first call's result instead of acting twice. Without it the server hashes the arguments, which catches retries but treats a deliberate repeat within 24 hours as one too.
Request body
Response
The tool's result in data.
Changes
No recorded changes to this operation across all 1 revision of this API.