Skip to content
GitHub
Try the demo

Writing

Change Elements

PATCH
/boards/{board_id}/elements
curl --request PATCH \
--url http://localhost:3000/api/v1/boards/example/elements \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "changes": [ { "language": "plain", "collapsed": true, "numbered": true, "marked": [ 1 ], "bold": true, "size": "small", "opacity": 1, "rotation": 1, "stroke": 1, "dash": true, "note": "example", "at": "2026-04-15T12:00:00Z", "repeat": "daily", "on": "example", "id": "example", "x": 1, "y": 1, "w": 1, "h": 1, "frame": "example", "text": "example", "title": "example", "color": "example", "shape": "rectangle", "label": "example" } ] }'

Moves, resizes and restyles any element; changes text and reminders the API added.

board_id
required
Board Id
string
Media typeapplication/json
ChangeIn
object
changes
required
Changes
Array<object>
>= 1 items <= 200 items
Change
object
language
Language
Any of:
string
Allowed values: plain bash c csharp cpp css dockerfile go graphql hcl html java javascript json kotlin markdown php powershell python ruby rust sql swift toml tsx typescript xml yaml
collapsed
Collapsed
Any of:
boolean
numbered
Numbered
Any of:
boolean
marked
Marked
Any of:
Array<integer>
<= 500 items
bold
Bold
Any of:
boolean
size
Size
Any of:
string
Allowed values: small medium large
opacity
Opacity
Any of:
integer
>= 10 <= 100 multiple of 5
rotation
Rotation
Any of:
number
>= -100000 <= 100000
stroke
Stroke
Any of:
Allowed values: 1 1.5 3
dash
Dash
Any of:
boolean
note
Note
Any of:
string
<= 500 characters
at
At
Any of:
string format: date-time
repeat
Repeat
Any of:
string
Allowed values: daily weekdays weekly
on
On
Any of:
string
<= 100 characters
id
required
Id
string
<= 100 characters
x
X
Any of:
number
>= -1000000 <= 1000000
y
Y
Any of:
number
>= -1000000 <= 1000000
w
W
Any of:
number
>= 1 <= 20000
h
H
Any of:
number
>= 1 <= 20000
frame
Frame
Any of:
string
<= 100 characters
text
Text
Any of:
string
<= 10000 characters
title
Title
Any of:
string
<= 200 characters
color
Color
Any of:
string
<= 20 characters
shape
Shape
Any of:
string
Allowed values: rectangle rounded ellipse rhombus triangle parallelogram hexagon cylinder
label
Label
Any of:
string
<= 500 characters

Successful Response

Media typeapplication/json
Written
object
elements
required
Elements
Array<object>
Element

One element; fields that do not belong to its kind are left out of the answer.

object
id
required
Id
string
kind
required
Kind
string
Allowed values: card note text code shape frame arrow image module timer
x
X
Any of:
number
y
Y
Any of:
number
w
W
Any of:
number
h
H
Any of:
number
frame
Frame
Any of:
string
editable
Editable
boolean
text
Text
Any of:
string
title
Title
Any of:
string
color
Color
Any of:
string
bold
Bold
Any of:
boolean
size
Size
Any of:
string
opacity
Opacity
Any of:
integer
rotation
Rotation
Any of:
integer
stroke
Stroke
Any of:
number
dash
Dash
Any of:
boolean
shape
Shape
Any of:
string
language
Language
Any of:
string
collapsed
Collapsed
Any of:
boolean
numbered
Numbered
Any of:
boolean
marked
Marked
Any of:
Array<integer>
module
Module
Any of:
string
source
Source
Any of:
string
key
Key
Any of:
string
task
Any of:
TaskOut
object
title
required
Title
string
status
required
Status
string
assignee
required
Assignee
Any of:
string
due
required
Due
Any of:
string format: date
url
required
Url
string
fetched_at
required
Fetched At
string
from
From
Any of:
string
to
To
Any of:
string
label
Label
Any of:
string
note
Note
Any of:
string
due_at
Due At
Any of:
string
repeat
Repeat
Any of:
string
watch
Watch
Any of:
object
key
additional properties
Any of:
string
done
Done
Any of:
boolean
attached_to
Attached To
Any of:
string
status
Status
Any of:
string
created
required
Created
Array<string>

Example

{
"elements": [
{
"kind": "card",
"editable": false
}
]
}

No key, or a key that stopped working

Media typeapplication/json
Error

Every error of v1; clients must ignore codes they do not know.

object
error
required
ErrorDetail
object
code
required
Code
string
message
required
Message
string

Example generated

{
"error": {
"code": "example",
"message": "example"
}
}

The key may not do this, or keys are switched off

Media typeapplication/json
Error

Every error of v1; clients must ignore codes they do not know.

object
error
required
ErrorDetail
object
code
required
Code
string
message
required
Message
string

Example generated

{
"error": {
"code": "example",
"message": "example"
}
}

Not found, or not among what the key reaches

Media typeapplication/json
Error

Every error of v1; clients must ignore codes they do not know.

object
error
required
ErrorDetail
object
code
required
Code
string
message
required
Message
string

Example generated

{
"error": {
"code": "example",
"message": "example"
}
}

The request does not match the schema

Media typeapplication/json
Error

Every error of v1; clients must ignore codes they do not know.

object
error
required
ErrorDetail
object
code
required
Code
string
message
required
Message
string

Example generated

{
"error": {
"code": "example",
"message": "example"
}
}

Over a budget; see Retry-After

Media typeapplication/json
Error

Every error of v1; clients must ignore codes they do not know.

object
error
required
ErrorDetail
object
code
required
Code
string
message
required
Message
string

Example generated

{
"error": {
"code": "example",
"message": "example"
}
}