cURL
curl --request PUT \ --url https://api.example.com/journals/editor/import_from_markdown \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "markdown": "<string>", "title": "Imported Journal", "team_slug": "<string>" } '
{ "success": true, "message": "<string>", "journal_id": "<string>", "journal_url": "<string>", "timestamp": "<string>" }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Request model for importing a journal from markdown.
The markdown content to import.
The title of the journal, if you want to provide one.
The team slug that the journal is associated with
Successful Response
Response model for importing a journal from markdown.
Was this page helpful?