Skip to main content
POST
/
v1
/
notes
/
{note_id}
Update A Note
curl --request POST \
  --url http://api.stuut.ai/v1/notes/{note_id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "content": "<string>",
  "pinned": true
}
'
{
  "content": "<string>",
  "object": "<string>",
  "partner_id": "<string>",
  "id": "<string>",
  "author": {
    "email": "<string>",
    "family_name": "<string>",
    "given_name": "<string>",
    "object": "<string>",
    "organization_id": "<string>",
    "id": "<string>",
    "created_at": "2023-11-07T05:31:56Z",
    "dashboard_settings": {
      "thread_emails_sort_order": "asc"
    },
    "default_email_sender_id": "<string>",
    "invited_by_user_id": "<string>",
    "is_access_approved": true,
    "is_org_admin": true,
    "modified_at": "2023-11-07T05:31:56Z",
    "name": "<string>",
    "onboarding_required": true,
    "profile_picture": "<string>",
    "selected": true
  },
  "author_id": "<string>",
  "created_at": "2023-11-07T05:31:56Z",
  "modified_at": "2023-11-07T05:31:56Z",
  "pinned": true
}

Authorizations

Authorization
string
header
required

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

Path Parameters

note_id
string
required

Body

application/json
content
string
pinned
boolean

Response

Successful response

content
string
required

The content of the note.

object
string
required
partner_id
string
required

The ID of the partner this note belongs to.

Maximum string length: 32
id
string
Maximum string length: 32
author
object
author_id
string | null

The ID of the user who created this note.

Maximum string length: 32
created_at
string<date-time>
modified_at
string<date-time> | null
pinned
boolean

Whether the note is pinned and will show up first.