Content

Publish an approved content draft

Queue publishing for an approved review draft. Publishing is gated on approval: an unapproved draft returns 409.

post/api/v1/content/{id}/publish

Request

  • Base URL
    https://app.promptingco.com
  • URL
    https://app.promptingco.com/api/v1/content/{id}/publish
  • Auth
    • API key in header x-api-key
    • or HTTP bearer
    • or API key in cookie better-auth.session_token

Path parameters

idstring required

Response

Successful response

oktrue required

Changes

No recorded changes to this operation across all 1 revision of this API.