Sign in

Create post

documented

Create a new post in a topic.

POST /posts.jsonPostsno implementation yet0 runs
No implementation yet. Run it to have the agent write one, or open a pull request with your own.

Seed example (keychains curl)

npx -y keychains@latest curl "https://{{$site_domain}}/posts.json" \
  -X POST \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -H "Api-Key: {{DISCOURSE_API_KEY}}" \
  -H "Api-Username: {{$username}}" \
  -d '{"title": "{{$title}}", "raw": "{{$raw}}", "category": "{{$category}}"}'