Skip to main content
PATCH
/
v1
/
notes
/
:id
Update Note
curl --request PATCH \
  --url https://api.example.com/v1/notes/:id \
  --header 'Content-Type: application/json' \
  --data '
{
  "title": "<string>",
  "content": "<string>",
  "note_type": "<string>",
  "tags": [
    {}
  ],
  "is_pinned": true
}
'
{
  "data": {}
}

Request

Path Parameters

id
string
required
Note ID (UUID)

Body Parameters

title
string
Note title
content
string
Content (max 50,000 characters)
note_type
string
Note type
tags
array
Tags (replaces existing)
is_pinned
boolean
Pin/unpin

Headers

Authorization: Bearer wbk_your_api_key_here
Content-Type: application/json

Response

data
object
Updated note with id, title, note_type, tags, is_pinned, updated_date
curl -X PATCH https://data.leadlex.com/functions/v1/api-gateway/v1/notes/note-001 \
  -H "Authorization: Bearer wbk_your_api_key_here" \
  -H "Content-Type: application/json" \
  -d '{ "is_pinned": true }'

Errors

StatusCodeDescription
404not_foundNote not found
403insufficient_permissionsMissing contacts:write permission