A createDocument operation creates a new instance of a Document. The instance is populated with the content of the body of the API call.

The createDocument operation returns a JSON object representing the newly created Document and redirects to its URL.