Miro · Schema

ShapeUpdateRequest

ProductivityWhiteboardVisual CollaborationDiagrammingSoftware-as-a-ServiceCollaborationOnline WhiteboardDeveloper Platform

Properties

Name Type Description
data object
style object
position object
geometry object
parent object
View JSON Schema on GitHub

JSON Schema

miro-shape-update-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/miro/json-schema/miro-shape-update-request-schema.json",
  "title": "ShapeUpdateRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/miro-flowchart-shapes-experimental-api-openapi.yml#/components/schemas/ShapeUpdateRequest",
  "type": "object",
  "properties": {
    "data": {
      "$ref": "#/$defs/ShapeDataForUpdate"
    },
    "style": {
      "$ref": "#/$defs/ShapeStyleForUpdate"
    },
    "position": {
      "$ref": "#/$defs/PositionChange"
    },
    "geometry": {
      "$ref": "#/$defs/Geometry"
    },
    "parent": {
      "$ref": "#/$defs/Parent"
    }
  },
  "$defs": {
    "Geometry": {
      "type": "object",
      "description": "Contains geometrical information about the item, such as its width or height.",
      "properties": {
        "height": {
          "type": "number",
          "format": "double",
          "description": "Height of the item, in pixels."
        },
        "rotation": {
          "type": "number",
          "format": "double",
          "description": "Rotation angle of an item, in degrees, relative to the board. You can rotate items clockwise (right) and counterclockwise (left) by specifying positive and negative values, respectively."
        },
        "width": {
          "type": "number",
          "format": "double",
          "description": "Width of the item, in pixels."
        }
      }
    },
    "Parent": {
      "type": "object",
      "description": "Contains information about the parent frame for the item.",
      "properties": {
        "id": {
          "type": "string",
          "format": "int64",
          "description": "Unique identifier (ID) of the parent frame for the item."
        }
      }
    },
    "PositionChange": {
      "type": "object",
      "description": "Contains information about the item's position on the board, such as its `x` coordinate, `y` coordinate, and the origin of the `x` and `y` coordinates.",
      "properties": {
        "x": {
          "type": "number",
          "format": "double",
          "description": "X-axis coordinate of the location of the item on the board.\nBy default, all items have absolute positioning to the board, not the current viewport. Default: `0`.\nThe center point of the board has `x: 0` and `y: 0` coordinates.",
          "default": 0
        },
        "y": {
          "type": "number",
          "format": "double",
          "description": "Y-axis coordinate of the location of the item on the board.\nBy default, all items have absolute positioning to the board, not the current viewport. Default: `0`.\nThe center point of the board has `x: 0` and `y: 0` coordinates.",
          "default": 0
        }
      }
    },
    "ShapeDataForUpdate": {
      "type": "object",
      "description": "Contains shape item data, such as the content or the type of the shape.",
      "properties": {
        "content": {
          "type": "string",
          "description": "The text you want to display on the shape.\n**Note: When updating a shape type to one of the types below, existing `content` will be lost.**\n<br>**Not supported for shapes:**\n<ul>\n  <li>flow_chart_or</li>\n  <li>flow_chart_summing_junction</li>\n</ul>"
        },
        "shape": {
          "type": "string",
          "default": "rectangle",
          "description": "Defines the geometric shape of the item when it is rendered on the board. <details>\n  <summary>Basic shapes</summary>\n  <ul>\n    <li>rectangle</li>\n    <li>round_rectangle</li>\n    <li>circle</li>\n    <li>triangle</li>\n    <li>rhombus</li>\n    <li>parallelogram</li>\n    <li>trapezoid</li>\n    <li>pentagon</li>\n    <li>hexagon</li>\n    <li>octagon</li>\n    <li>wedge_round_rectangle_callout</li>\n    <li>star</li>\n    <li>flow_chart_predefined_process</li>\n    <li>cloud</li>\n    <li>cross</li>\n    <li>can</li>\n    <li>right_arrow</li>\n    <li>left_arrow</li>\n    <li>left_right_arrow</li>\n    <li>left_brace</li>\n    <li>right_brace</li>\n  </ul>\n</details>\n<details>\n  <summary>Flowchart shapes</summary>\n  <ul>\n    <li>flow_chart_connector</li>\n    <li>flow_chart_magnetic_disk</li>\n    <li>flow_chart_input_output</li>\n    <li>flow_chart_decision</li>\n    <li>flow_chart_delay</li>\n    <li>flow_chart_display</li>\n    <li>flow_chart_document</li>\n    <li>flow_chart_magnetic_drum</li>\n    <li>flow_chart_internal_storage</li>\n    <li>flow_chart_manual_input</li>\n    <li>flow_chart_manual_operation</li>\n    <li>flow_chart_merge</li>\n    <li>flow_chart_multidocuments</li>\n    <li>flow_chart_note_curly_left</li>\n    <li>flow_chart_note_curly_right</li>\n    <li>flow_chart_note_square</li>\n    <li>flow_chart_offpage_connector</li>\n    <li>flow_chart_or</li>\n    <li>flow_chart_predefined_process_2</li>\n    <li>flow_chart_preparation</li>\n    <li>flow_chart_process</li>\n    <li>flow_chart_online_storage</li>\n    <li>flow_chart_summing_junction</li>\n    <li>flow_chart_terminator</li>\n  </ul>\n</details>"
        }
      }
    },
    "ShapeStyleForUpdate": {
      "type": "object",
      "description": "Contains information about the shape style, such as the border color or opacity. <br> All properties in style object are supported for shape types aren't listed below. <br> <table>\n  <tr>\n    <th align=\"left\">Shape type</th>\n    <th align=\"left\">Unsupported properties</th>\n  </tr>\n  <tr>\n    <td>flow_chart_or</td>\n    <td>fontSize, fontFamily, color, textAlign, textAlignVertical</td>\n  </tr>\n  <tr>\n    <td>flow_chart_summing_junction</td>\n    <td>fontSize, fontFamily, color, textAlign, textAlignVertical</td>\n  </tr>\n  <tr>\n    <td>flow_chart_note_curly_left</td>\n    <td>fillColor, fillOpacity</td>\n  </tr>\n  <tr>\n    <td>flow_chart_note_curly_right</td>\n    <td>fillColor, fillOpacity</td>\n  </tr>\n  <tr>\n    <td>flow_chart_note_square</td>\n    <td>fillColor, fillOpacity</td>\n  </tr>\n</table>",
      "properties": {
        "borderColor": {
          "type": "string",
          "description": "Defines the color of the border of the shape."
        },
        "borderOpacity": {
          "type": "string",
          "description": "Defines the opacity level of the shape border.\nPossible values: any number between `0.0` and `1.0`, where:\n`0.0`: the background color is completely transparent or invisible\n`1.0`: the background color is completely opaque or solid",
          "maximum": 1,
          "minimum": 0
        },
        "borderStyle": {
          "type": "string",
          "description": "Defines the style used to represent the border of the shape.",
          "enum": [
            "normal",
            "dotted",
            "dashed"
          ]
        },
        "borderWidth": {
          "type": "string",
          "description": "Defines the thickness of the shape border, in dp.",
          "maximum": 24,
          "minimum": 1
        },
        "color": {
          "type": "string",
          "description": "Hex value representing the color for the text within the shape item."
        },
        "fillColor": {
          "type": "string",
          "description": "Fill color for the shape.\nHex values: `#f5f6f8` `#d5f692` `#d0e17a` `#93d275` `#67c6c0` `#23bfe7` `#a6ccf5` `#7b92ff` `#fff9b1` `#f5d128` `#ff9d48` `#f16c7f` `#ea94bb` `#ffcee0` `#b384bb` `#000000`"
        },
        "fillOpacity": {
          "type": "string",
          "description": "Opacity level of the fill color.\nPossible values: any number between `0` and `1`, where:\n`0.0`: the background color is completely transparent or invisible\n`1.0`: the background color is completely opaque or solid\n",
          "maximum": 1,
          "minimum": 0
        },
        "fontFamily": {
          "type": "string",
          "description": "Defines the font type for the text in the shape item.",
          "enum": [
            "arial",
            "abril_fatface",
            "bangers",
            "eb_garamond",
            "georgia",
            "graduate",
            "gravitas_one",
            "fredoka_one",
            "nixie_one",
            "open_sans",
            "permanent_marker",
            "pt_sans",
            "pt_sans_narrow",
            "pt_serif",
            "rammetto_one",
            "roboto",
            "roboto_condensed",
            "roboto_slab",
            "caveat",
            "times_new_roman",
            "titan_one",
            "lemon_tuesday",
            "roboto_mono",
            "noto_sans",
            "plex_sans",
            "plex_serif",
            "plex_mono",
            "spoof",
            "tiempos_text",
            "formular"
          ]
        },
        "fontSize": {
          "type": "string",
          "description": "Defines the font size, in dp, for the text on the shape.",
          "maximum": 288,
          "minimum": 10
        },
        "textAlign": {
          "type": "string",
          "description": "Defines how the sticky note text is horizontally aligned.",
          "enum": [
            "left",
            "right",
            "center"
          ]
        },
        "textAlignVertical": {
          "type": "string",
          "description": "Defines how the sticky note text is vertically aligned.",
          "enum": [
            "top",
            "middle",
            "bottom"
          ]
        }
      }
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/miro-shape-update-request"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.