Skip to main content

StickyNote.style.fillColor is always "light_yellow" in REST API

  • April 24, 2025
  • 10 replies
  • 157 views

Forum|alt.badge.img+1

Hello,

I’m using the REST API to request information from a board, using `GET /v2/boards/{board_id}/items`. I have some sticky notes in different colors in my board, however the returned `fillColor` in `style.fillColor` is always `light_yellow`, even if the sticky note has a different color. Other style properties (e.g. `textAlign`) work correctly - but the `fill_color` is always `light_yellow`.

I’ve implemented this functionality ~1 year ago, and it definitely worked back then - did something change that broke this, is this a bug or intended behavior? If intended, is there any other way to figure out the color of a sticky note?

10 replies

Horea Porutiu
Mironeer
Forum|alt.badge.img+1
  • Mironeer
  • 200 replies
  • April 25, 2025

Hey ​@Jimmyyy 

I’ve just tested the following REST API call:

 

curl --request GET \
--url 'https://api.miro.com/v2/boards/<board-id>/items?type=sticky_note' \
--header 'accept: application/json' \
--header 'authorization: Bearer <token>'

And I did see output like this:

 

  "id": "<id>",
"type": "sticky_note",
"data": {
"content": "test",
"shape": "square"
},
"style": {
"fillColor": "dark_green",
"textAlign": "center",
"textAlignVertical": "middle"
},


I’m not quite sure why this is not working for you. If you start a new board and add in two stickies, with two different colors, and try this again, do you still face the same issue? 


Forum|alt.badge.img+1
  • Author
  • New Here
  • 1 reply
  • April 25, 2025

Hey ​@Horea Porutiu,

thanks for testing it (and the very fast response!) - unfortunately, I just tested it again and it still doesn’t seem to work for me.

I have the following board (created yesterday): 

with sticky notes that are not light_yellow in my opinion.

I’ve just sent a request to 

GET https://api.miro.com/v2/boards/uXjVI-C1UBA=/items?type=sticky_note

using the same accept and authorization header that you’re using. There, I get the following response:

{
"size": 7,
"limit": 10,
"total": 7,
"data": [
{
"id": "3458764625898346385",
"type": "sticky_note",
"data": {
"content": "<p>Restaurant Management2</p>",
"shape": "rectangle"
},
"style": {
"fillColor": "light_yellow",
"textAlign": "right",
"textAlignVertical": "middle"
},
[...]

even though the sticky note is not light_yellow. Using the URL from links.self (https://api.miro.com/v2/boards/uXjVI-C1UBA%3D/sticky_notes/3458764625898346385) returns the same style info.

I’ve also just created a new board:

with the same problem and following response:

{
"size": 2,
"limit": 10,
"total": 2,
"data": [
{
"id": "3458764626030331568",
"type": "sticky_note",
"data": {
"content": "<p>pink</p>",
"shape": "square"
},
"style": {
"fillColor": "light_yellow",
"textAlign": "right",
"textAlignVertical": "middle"
},

 


Forum|alt.badge.img
  • New Here
  • 1 reply
  • April 25, 2025

I can confirm that issue. 

 


Horea Porutiu
Mironeer
Forum|alt.badge.img+1
  • Mironeer
  • 200 replies
  • April 28, 2025

I’ve tested it again and I was able to reproduce the issue. I’ll bring this to our eng team and I’ll update this thread once we find the problem. Thank you for bringing this problem up. 


Forum|alt.badge.img
  • Beginner
  • 3 replies
  • May 5, 2025

I have the same issue, in case you need an other example :-)


Forum|alt.badge.img
  • New Here
  • 1 reply
  • May 22, 2025

I also have the same, style.fillColor is always "light_yellow" in REST API

 


Forum|alt.badge.img
  • Beginner
  • 3 replies
  • May 23, 2025

@Horea Porutiu I was wondering if you know, when this issue is fixed? Would be nice, if this is working again with the colours of the post-its coming from Miro 😅 Thank you for your update. 


Horea Porutiu
Mironeer
Forum|alt.badge.img+1
  • Mironeer
  • 200 replies
  • May 27, 2025

Hey ​@Sonja Margot and ​@xinxin 

Our team will be looking at this in the next few days. Thank you for your patience. I will update this thread once it’s fixed. Sorry for the inconvenience. 


Horea Porutiu
Mironeer
Forum|alt.badge.img+1
  • Mironeer
  • 200 replies
  • June 2, 2025

Hey ​@Sonja Margot and ​@xinxin 

Our team have just rolled out a fix for this issue. I’ve tested it and it works fine for me now. 
Thank you for your patience as we worked out this issue, and thank you for following back up with us.


Please let me know if you are still seeing issues with the color returned from our APIs. 


Forum|alt.badge.img
  • Beginner
  • 3 replies
  • June 2, 2025

@Horea Porutiu 

Quick look on my Test Airtable and the colors of the sticky notes are displayed correctly! Thank you for the fix! ✅