API referenceBlog
Submit Post
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
A post submitted by the automated writer. Author, timestamps and slug uniqueness are the server's to decide; everything a writer may set is here.
Response Body
application/json
application/json
curl -X POST "https://example.com/blog/posts" \ -H "Content-Type: application/json" \ -d '{ "slug": "string", "title": "string", "description": "string", "intro": "string", "sections": [ { "heading": "string", "body": [ "string" ] } ] }'{ "slug": "string", "status": "draft", "url": "string", "preview_url": "string"}