Skip to content
Navigation

Add a note

Adds a note. With the same idempotency_key, a retried request adds one note. Needs the videos:create permission.

POST
https://app.mosio.me/v1/notes

Authorization

  • apiKeyAPI key in headerrequired

Request bodyJSONrequired

  • kindideaorresearchordataorreferenceorbriefornoterequired

    idea: a loose idea; research: findings with sources; data: figures, tables or survey results the video can show (numbers in the body, where they came from in links or research); reference: a video or post to learn from; brief: a rough brief not yet saved as a production plan; note: anything else.

  • titlestringrequired
    maxLength: 120 · minLength: 1
  • bodyoptionalstring
    maxLength: 10000 · default: ""
  • researchoptional
    default: null

    One of the following:

    • object
    • null
  • tagsoptionalarray ofstring
    maxLength: 40 · minLength: 1 · default: []
  • coloroptionalyelloworblueorgreenorpinkorpurpleorgray
    default: "yellow"
  • xoptionalinteger
    maximum: 20000 · minimum: -20000 · default: 0
  • yoptionalinteger
    maximum: 20000 · minimum: -20000 · default: 0
  • idempotency_keyoptionalstring

    Unique per note, so a retried request creates one note.

    maxLength: 128 · minLength: 1

Returns

201

The note.

JSON
  • idstringrequired
  • kindideaorresearchordataorreferenceorbriefornoterequired
  • titlestringrequired
  • bodystringrequired
  • researchrequired

    One of the following:

    • object
    • null
  • tagsarray ofstringrequired
  • coloryelloworblueorgreenorpinkorpurpleorgrayrequired
  • xnumberrequired
  • ynumberrequired
  • sourcestring | nullrequired
  • plan_idstring | nullrequired
  • created_atstringrequired
  • updated_atstringrequired

400

The request body is not valid JSON or does not match the schema.
JSON
  • errorunauthorizedorinvalid_api_keyorinsufficient_scopeorforbiddenorinvalid_inputorinvalid_composition+8 morerequired

    A stable error code.

  • messagestringrequired

    A message for people, in Indonesian.

  • detailsoptionalunknown

    More about the error, such as the fields to fix.

401

The API key is missing or not valid.
JSON
  • errorunauthorizedorinvalid_api_keyorinsufficient_scopeorforbiddenorinvalid_inputorinvalid_composition+8 morerequired

    A stable error code.

  • messagestringrequired

    A message for people, in Indonesian.

  • detailsoptionalunknown

    More about the error, such as the fields to fix.

Type to search…

↑↓ navigate↵ selectEsc close