Content

Review a content draft

Approve or reject a draft awaiting review. Approval enqueues publishing for publishable content; rejection stores feedback as the rejection reason.

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

Request

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

Path parameters

idstring required

Request body

action'approve' | 'reject' required
feedbackstring

Response

Successful response

oktrue required
dataunknown

Changes

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