Documents

Create a Flow document

Costs NO credits: the initial_message it returns is a template, not a model call. A storybrand_framework_id you do not own is a 400.

post/v1/documents

Request

  • Base URL: https://contentmaschine.ai/api
  • URL: https://contentmaschine.ai/api/v1/documents
  • Auth: one of:
    • HTTP bearer
    • OAuth 2 (authorization code, authorization URL https://contentmaschine.ai/api/oauth/authorize, token URL https://contentmaschine.ai/api/oauth/token)

Request body

titlestring

Optional.

contentstring

Optional initial content.

document_typestring

Optional document type.

project_idinteger

Optional project to file it under.

storybrand_framework_idinteger

Optional StoryBrand framework (integer id) you own.

Response

The created document.

successboolean
timestampstring date-time

Example response

{
  "success": true
}

Changes

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