content

Confirm a content draft

Moves a reviewed piece from review to ready. When interview answers changed after the piece was written, confirming rewrites it first: the response is then 202 with a draft that lands in ready on its own, and the rewrite counts as one draft against the allowance. Pass skipRewrite: true to finish without the rewrite.

Errors

  • 404 NOT_FOUND: no draft with this id in the active Space.
  • 409 QUESTIONS_OPEN: a required interview question is still unanswered.
  • 409 BRAND_VIOLATION: the piece uses a phrase the business's brand profile bans.
post/api/v1/content/{id}/confirm

Request

  • Base URL: https://api.growomat.com
  • URL: https://api.growomat.com/api/v1/content/{id}/confirm
  • Auth: HTTP bearer

Path parameters

idstring required

The content draft id.

Headers

X-Space-Idstring

The Space to work in, for example spc_8f3aK2. Omit it to use your personal Space. List your Spaces returns the ids. A Space that does not exist returns 404 SPACE_NOT_FOUND; one you are not a member of returns 403 NOT_A_MEMBER.

Request body

skipRewriteboolean

Finish without rewriting even when interview answers changed after the piece was written, for example when the monthly draft allowance is spent. The answers are recorded as applied so the piece does not stay pending.

Response

OK. The result is in data. List responses also carry meta with nextCursor and total.

dataunknown required

Changes

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