---
title: "Create an approved-copy slug from a draft"
method: POST
path: "/api/admin/content"
tags: ["Admin"]
---

# Create an approved-copy slug from a draft

`POST /api/admin/content`

## Request

- Base URL: `https://app.d-sports.org`
- URL: `https://app.d-sports.org/api/admin/content`
- Auth: HTTP bearer

Platform moderator/admin only (#998). Upsert semantics: creates the slug when absent and saves the draft block, or re-saves the draft of an existing slug. Publishing is a separate `POST /api/admin/content/{slug}/publish`, so a half-written edit never reaches clients. Body: `{ slug, title?, body?, bullets? }` with at least one of the three content fields. `slug` must be lowercase words separated by hyphens.

## Request body

- object
  - `slug` string, required
  - `title` string
  - `body` string
  - `bullets` string[]

## Response `200`

{ success, data: AdminCopy } — an existing draft was re-saved.

## Other responses

- `201`: { success, data: AdminCopy } — the slug was created.
- `400`: { success: false, error, code: "VALIDATION_ERROR" }
- `401`: Not authenticated
- `403`: { success: false, error, code: "FORBIDDEN" }

## Changes

- **2026-11-18** `6de639c52609`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/d-sports-ecosystem/apis/d-sports-api/changes/api/admin/content/post.md)

---

[API](https://skmtc.dev/d-sports-ecosystem/apis/d-sports-api.md) - [All operations](https://skmtc.dev/d-sports-ecosystem/apis/d-sports-api/llms.txt) - [OpenAPI document](https://skmtc.dev/d-sports-ecosystem/apis/d-sports-api/revisions/63735cf90a04?raw)
