Create a new document

Creates a new document saved to your account. The document is not published. Use POST /documents/{id}/publish to publish it, or use POST /documents/publish to create and publish in one call.

post/documents

Request

  • Base URL: https://api.unmarkdown.com/v1
  • URL: https://api.unmarkdown.com/v1/documents
  • Auth: HTTP bearer

Request body

titlestring

Document title

contentstring

Markdown content

template_idstring

Template ID

theme_mode'light' | 'dark'

Response

Document created

idstring uuid
titlestring
template_idstring
theme_modestring
created_atstring date-time

Changes

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