Skip to main content
POST
/
blog-posts
cURL (AI)
curl -X POST https://api.neuraldraft.io/v1/blog-posts \
  -H "Authorization: Bearer ndsk_live_yourkey" \
  -H "Content-Type: application/json" \
  -d '{"ai":{"topic":"5-minute breathwork","word_count":1200}}'
{
  "id": 142,
  "slug": "5-minute-breathwork-for-anxious-mornings",
  "status": "published",
  "title": "<string>",
  "featured_image": "<string>",
  "published_at": "2023-11-07T05:31:56Z",
  "scheduled_at": "2023-11-07T05:31:56Z",
  "excerpt": "<string>",
  "content": "<string>",
  "meta_title": "<string>",
  "meta_description": "<string>",
  "category": {
    "id": 7,
    "name": "Wellness",
    "slug": "wellness"
  },
  "tags": [
    {
      "id": 21,
      "name": "breathwork",
      "slug": "breathwork"
    }
  ],
  "translations": [
    {
      "lang": "en",
      "title": "<string>",
      "content": "<string>",
      "excerpt": "<string>",
      "meta_title": "<string>",
      "meta_description": "<string>"
    }
  ],
  "created_at": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z"
}

Documentation Index

Fetch the complete documentation index at: https://docs.neuraldraft.io/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Project API key. Pass as Authorization: Bearer ndsk_live_.... Manage keys via /projects/me/api-keys. Test-mode keys use the ndsk_test_ prefix.

Body

application/json
title
string
required
content
string
required

HTML body.

language_code
string
required
Example:

"en"

slug
string

Optional. Auto-generated if omitted.

excerpt
string
meta_title
string
meta_description
string
category_id
integer
tag_ids
integer[]
status
enum<string>
default:draft
Available options:
draft,
published,
scheduled

Response

Manual post created (synchronous).

id
integer
required
Example:

142

slug
string
required
Example:

"5-minute-breathwork-for-anxious-mornings"

status
enum<string>
required
Available options:
draft,
published,
scheduled,
archived
Example:

"published"

title
string
required
published_at
string<date-time> | null
scheduled_at
string<date-time> | null
excerpt
string | null
content
string | null

HTML for the requested language. Returned by GET /blog-posts/{id_or_slug} only.

meta_title
string | null
meta_description
string | null
category
object
tags
object[]
translations
object[]
created_at
string<date-time>
updated_at
string<date-time>