Discuss everything related to Miro API, SDK, embedding and Miro Platform apps development.
Recently active
Hello,We would like to identify when an widgets(text/image) is updated and based on that we want to perform some actions. Currently there is no event type to indicate if the widget is being updated (We are not interested in WIDGETS_TRANSFORMATION_UPDATED which fires the position/size changes)Supported EventType: "SELECTION_UPDATED" | "WIDGETS_CREATED" | "WIDGETS_DELETED" | "WIDGETS_TRANSFORMATION_UPDATED" | "ESC_PRESSED" | "ALL_WIDGETS_LOADED" | "COMMENT_CREATED" | "CANVAS_CLICKED" | "DATA_BROADCASTED" | "RUNTIME_STATE_UPDATED" | "METADATA_CHANGED" | "ONLINE_USERS_CHANGED"As a workaround we thought we could use the SELECTION_UPDATED event to trigger the action after widget updated but then there is no modified timestamp against the widget to detect if any changes happened. Is there any workaround or hack to approach this problem?
Hi!Сan I log-in user from the server, using cURL or REST API
Curious if anyone has successfully made an app in Miro to expand on what’s currently possible with dates (which is not a lot.) Thinking of cards and comments in particular. I know Miro has teased the “coming soon” when you click the new “remind me later” button on the comment side-panel...
I am trying to better analyze a very complex board formed from the:https://wiki.p2pfoundation.net/Main_PageBecause of it’s complexity I was hoping to access its objects from this python client (which wraps around the REST API)https://github.com/jasonlarkin/miro-python-client/blob/develop/gameb.ipynbhttps://github.com/jasonlarkin/miro-python-client/blob/develop/miro/client.pyI noticed this topic came up recently:https://community.miro.com/got-a-question-ask-the-community-45/export-pictures-and-full-board-from-miro-2258I don’t necessarily need to export pictures, just the natural language associated with any metadata would be helpful. As of now this metadata is missing (see gameb.ipynb) Having this metadata could enable semantic analysis of the board which could compliment the same analysis on this wiki which was used to seed the board:https://wiki.p2pfoundation.net/Main_PageMy plan is to perform analysis in this vein:https://www.mdpi.com/1999-5903/8/2/14/htmand publish the results. Gra
Hello. I’m currently trying to integrate a Miro board into my website. While trying to get the oauth token from my local, I receive this error:Access to fetch at 'https://api.miro.com/v1/oauth/token' from origin 'http://127.0.0.1:8080' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.Is there a way to whitelist my localhost and get the token?
Hello we would like to create a new public board through REST API.We have succeeded to create a new public board. It would be great if we could also set password when to create a board through REST API.It seems that it is not allowed to set password through REST API, if so is there any possibility to add the function near future? Ryoko Ueoka
Hi, Recently I have been testing my board extension in numerous real working enviroment boards instead of my test boards. The main difference was widget count on these boards, while I have made 20-30 widgets when testing these boards have 500+ widgets with some exceeding 5000 ( including handwriting where each stroke counts as a widget, these make up a lot of the total). The core of the problem is:miro.board.widgets.update({ "id" : widgetID2,// just a widget id the user assigns to a certain layer "clientVisible" : false // makes the widget not visible })when I do this, even if I only hide a few (4-5) widgets on a massive 1k+ widget board. The board becomes unresponsive after a few seconds prompts up a “syncing” modal like this:At this stage there are 2 outcomes: boards under 1k widgets: The sync takes it’s time anywhere from 2-3 seconds to 30 seconds. Then makes the board available to the user again. This is kind of frustrating since
Hi! Is it possible to remove the boards with REST API?
Greetings! Is it possible for Miro board content to communicate from its embedded IFrame to the parent window, via postMessage? I have embedded a Miro board into my web app in an IFrame, and I’d like to invoke my web app functions by clicking links in my Miro board content.Thanks!
Dear Miro team,My users need to edit a text in modal, after the edition is done, they may forget to save the changes, and the changes should not be lost by their reckless clicks on somewhere outside of the modal (which causes the modal to be closed).Can I listen ‘to on modal close event’ and ask the user to confirm closing the editor?Thanks,Mohsen Bazmi
When a comment is made in a board, can it show up in TEAMS as a message if the board is embedded?
I’ve haven’t explored the API documentation yet, but I’m trying to get some guidance on a K12 use case. Using the API, would I be able to do the following: create a board for each student in a class. create the same Kanban chart on each student’s board add a the same item to the kanban board of each student (such as an assignment) access items on each student’s boardThanks for any thoughts.
Is it possible in anyway to expand the rate limits for certain api calls? If so what’s the process for this?
I am not able to see the export icon in my miro board in the top left corner, someone please help me
When using the Create Widget endpoint, all widgets become stacked on top of each other toward the middle of the board. Without calling all widgets prior and determining the free space and setting the x and y coordinate, how are you to create widgets NOT right on top of eachother?
Hi,I’ve just finished building the simple Miro Web Plugin to count the number of widgets by type and would like to add a button on the sidebar which creates a sticky on the board with the count.I tried adding the button to HTML using the code below but the button itself is not clickable, is this not supported on the sidebar? let button = document.createElement('button');button.className = 'stat-list__button';button.innerText = 'Create Totals';button.addEventListener('click', function() { alert("Test");}, false);statView.appendChild(button);Thanks for the help!Tudor
From yesterday I see the bug in widget creating through POST https://api.miro.com/v1/boards/id/widgets Example of the POST requestPOST https://api.miro.com/v1/boards/o9J_labxxgM=/widgets v2_xiqk9VdRN__CHSzstDUsn-as {"type":"line","style":{"borderColor":"#d6d6d6","lineEndType":"opaque_arrow","lineStartType":"none","lineType":"bezier"},"startWidget":{"id":"3074457354075703371"},"endWidget":{"id":"3074457354083427696"}} In response I see that lineEndType is not that I have defined:{ "id" : "3074457354075703388", "startWidget" : { "id" : "3074457354075703371" }, "endWidget" : { "id" : "3074457354083427696" }, "style" : { "borderColor" : "#d6d6d6", "borderStyle" : "normal", "borderWidth" : 1.0, "lineEndType" : "bezier", "lineStartType" : null, "lineType" : "bezier" }, "type" : "line", "createdAt" : "2021-02-04T11:22:48Z", "modifiedAt" : "2021-02-04T11:22:48Z", "modifiedBy" : { "type" : "user", "name" : "Ilyas Salikhov", "id" : "3074457348081033358
Hi community, I’m keen to experiment with extending the Miro board with other apps that can be dropped onto the board and used by the team. E.g. and embedded version of Figma, a file store or a coding environment. I can’t use the iFrame widget for this as it defaults to just showing a preview - I want it to show the actual content of the remote session (likely with some kind of user locking mechanism). Am I correct in my understanding however that the widgets/API can only be used to create apps that manipulate existing board items (e.g. place post its) vs create new board entities (e.g. premium post it). Thanks for your help! Luke
I am working on a SPA where I am trying to create a UI on how to configure the look and types of the widgets to import. So I was wondering is there a way to set up cors in the Miro development settings that I missed?I am using directly Authorization with the Bearer token.
Hi, I was doing some widget plotting and detection earlier and found that widgets seem to have “reversed” values in their y-axis top and bottom bounds property. For example a fresh widget which I created with miro shape creator had these bounds:This might just be a result of different plotting technique or something but from what I know bottom y axis point should always be smaller than the top y axis point. Is this “inverted” on purpose? If yes what is the idea behind this? Also I have not made any tranformations / translations on the board or widgets. And what really bugged me is that the x-axis left and right points are plotted normally (left is on the left and right is on the right) unlike the y-axis points. From which arises another question is this actually plotted on the board in reverse or are the values just passed to the wrong attribute inside the widget data?
Hello, Does anybody know of any plugin in the market similar to the plugin named Looking Glass in this guide? https://developers.miro.com/docs/web-plugin-examples#looking-glass I find it to be useful, but I figured out maybe somoeone in the community already built it from the API example and can share the finished plugin with me. Saves me a lot of time of learning how to do it myself. Thank you,Omar
Is there a way to change the layering of widgets on a board via the rest api?I get inconsistent layering, i think due to race conditions sending create widget requests. From what i can tell the more recently added widgets always end up on top, but i can’t find a way to add a widget behind ones that already appear on the board.I assume i’m missing something? Thanks for the helpMokes
Is there any way to batch upload user profile pictures when Azure AD provisioning is enabled?I could not find any SCIM options to do this. I could not find out, how to upload pictures using side scripts. I found there is API for uploading pictures, but it requires Miro’s internal user id. And there is no API to get Miro’s users ids for my enterprise.Need assistance.
I have embedded a Miro board within a web api using the following link<iframe src="https://miro.com/app/live-embed/@Model?embedAutoplay=true&moveToViewport=-23165,-5837,13803,7546" style="right: 0; width: 100%; height: 100%; border: none;"></iframe>This enables the board to be opened automatically when the web page containing the link is displayed and the user is signed in to Miro.However, if the user is not signed in then a message to “Sign in” is displayed as below; Now, when the user signs in, using the “Sign in” button, the iframe containing the board, is refreshed and a message says “Reconnecting” then “Connection restored” is displayed at the top of the board but the board does not display.Instead the rotating image below is displayed. How can I embed a Miro link in a web api such that the board is auto displayed if the user is signed in or it is displayed automatically after the user signs in?
I am thinking of a small personal app idea that could use Miro pretty well but the way I’m envisioning it, I’d rather create the board automatically and allow all the anonymous users to edit it rather than having a user create an anonymous board through `boardPicker`. Is this possible? The API suggests that only `view`, `comment`, and `private` are valid options for the public `access` field when creating a new board. I am on the consultant plan by the way.
Already have an account? Login
No account yet? Create an account
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.