Skip to main content
PATCH
Update a sticky note

Authorizations

Authorization
string
header
required

A Melius API key (mel_...), sent as Authorization: Bearer <key>.

x-team-id
string
header
required

The team (workspace) to act on. Defaults to the key's team when omitted.

Path Parameters

canvasId
string<uuid>
required
noteId
string<uuid>
required

Body

application/json

Body

geometry
object
body
string
color
enum<string>

Replacement note color; omitted preserves the current color

Available options:
yellow,
pink,
blue,
green,
purple
heightMode
enum<string>

Deprecated compatibility field for older clients; ignored on writes. Use geometry.h for fixed-size notes, or fontSize: auto for height that follows the text with wrapWidth controlling wrapping.

Available options:
auto,
manual
fontSize
enum<string>

Text size: small, medium, large or xl uses geometry.h for the card height; auto keeps the note at a constant screen size while zooming, with height following the text and wrapWidth controlling wrapping

Available options:
auto,
small,
medium,
large,
xl
wrapWidth
number | null

Auto note width in screen pixels; null fits the text, omitted preserves the saved width. Height follows the text; geometry.w/h record the browser's measured size.

Required range: x >= 48
groupId
string<uuid> | null

Existing group on this canvas, or null for the canvas root. Coordinates are relative to this group. Reparenting preserves absolute position for omitted x/y.

Response

200

id
string<uuid>
required
canvasId
string<uuid>
required
createdByUserId
string<uuid>
required
createdByName
string
required
body
string
required
geometry
object
required
createdAt
string
required
updatedAt
string
required
color
enum<string>
Available options:
yellow,
pink,
blue,
green,
purple
fontSize
enum<string>

Text size: small, medium, large or xl uses geometry.h for the card height; auto keeps the note at a constant screen size while zooming, with height following the text and wrapWidth controlling wrapping

Available options:
auto,
small,
medium,
large,
xl
wrapWidth
number | null
Required range: x >= 0
groupId
string<uuid> | null
heightMode
enum<string>

Deprecated compatibility field for older clients; ignored on writes. Use geometry.h for fixed-size notes, or fontSize: auto for height that follows the text with wrapWidth controlling wrapping.

Available options:
auto,
manual