Skip to main content
PUT
/
journals
/
editor
/
create
Create Journal
curl --request PUT \
  --url https://api.example.com/journals/editor/create \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "title": "<string>",
  "team_slug": "<string>"
}
'
{
  "success": true,
  "message": "<string>",
  "journal_id": "<string>",
  "journal_url": "<string>",
  "timestamp": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Request model for creating a journal.

title
string
required

The title of the journal.

team_slug
string | null

The team slug that the journal is associated with, if the type is team.

Response

Successful Response

Response model for creating a journal.

success
boolean
required
message
string | null
journal_id
string | null
journal_url
string | null
timestamp
string