Discuss everything related to Miro API, SDK, embedding and Miro Platform apps development.
Recently active
Hi Miro Team,I was looking to create an app that will allow to create cards automatically from a CSV file. And looking at the API docs I saw that card got only these fields: title, desc, date, assignee. Can Tag field be added to a cardusing the API?
Hi, Is it possible to create image widget with data URL such as data:image/jpeg;base64,/9j/4…When I attempt to do so it throws error Error: 'url' field is required for ImageWidget Regards,Ram
Is there a way to restrict the widgets that getWidgetContextMenu applies to? I’m adding a new button, and I’d only like this button to show up for kanban.
Resolved.
Hi! Is there a way to find out, if a widget is in front of another widget? ThanksFalk
Right now Miro seems mostly about people starting things. I’m sure Miro has a frequency distribution showing how many boards people make. Over time, how many times they come back, factors driving repeat usage, tipping point between trying a few boards and being hooked on Miro, factors driving sharing and collaboration. IFTTM. I want to know about scale and how miro will help with scale. With APIs, other tools can generate boards. Like the manager who had more than a thousand pdfs for his team to annotate. People who meet could connect miro to calendaring and conferencing apps to trigger templated boards and automatically invite the right folks to contribute. Software developers might have a project’s issues not just added to a an existing kanban but start a scorecard board for each issue for a team to weigh in. There might be thousands of boards per worker, most generated automatically to lay the ground for further work. Overwhelm ahead. But nothing in the user experience suggests any
Hello, I am trying to add a custom icon to the menu for a given widget, this is the code for doing so:function jiraCard() { miro.board.ui.openModal('modal.html',{ width: 400, height: 600 }).then(() => { miro.showNotification("modal closed"); });}miro.onReady(() => { miro.initialize({ extensionPoints:{ getWidgetMenuItems: (widgets) => { return{ tooltip: 'Estimate', svgIcon: '<circle cx="12" cy="12" r="9" fill="none" fill-rule="evenodd" stroke="currentColor" stroke-width="2"/>', onClick: async (widgets) => { jiraCard() } } } } })})The problem is that this code makes all the default widgets disappear, so that the only button the menu is the custom widget that I am defining. Is there anyway to prevent this problem?
Hello, I am at the beginning of development project to populate Miro board using API. Checking API reference at https://developers.miro.com/reference I can’t find enough details for what I need.My requirements are:For a board <xxx>Create/update card widgetsI found Get Current User Boards API which returns all boards current user has access to. I can then loop through to find the board I need and start adding/updating cards.Card widget JSON does have tags field. Is there any way to add tags via API?Are there any examples of end-to-end similar functionality (including authentication)?
Hi.I got an access token to use Api for collecting Audit logs.My account has the role of company administrator.If my account is deprived of the administrator role, will the token work? for getting logs?Thank you.
I have the following code to recursively create a custom sticky widget from a CSV inside a web plugin. miro.board.widgets.create({ "type": "sticker", "style": { "backgroundColor": "#ea94bb", "fontFamily": "Bangers", "textAlign": "right" }, "text": data[i][filter], "x": ( 220 * horizontal ), "y": ( 220 * vertical ) })Regardless of what color I substitute in the backgroundColor property, I cannot get the stickies to generate as that color. They always get created yellow. I have run this same method with the “shape” widget and I get the correct specified background color. It there some nuanced approach to coloring stickers that I am just overlooking? I have been through the API documentation at least two dozen times.
Hi.Сan you explain the meanings of the "Miro REST API" events, please? For example:account_created account_default_project_sharing_settings_changed account_invitation_settings_changed account_external_collaborators_enabled account_integration_settings_changed user_invited_to_account I think “account = team”, right?I want to understand it before using API and getting logs.Thanks!p.s. Можно на русском.
Hi!I’m wondering if there’s a way to add thumbnail for my custom iframe code? I noticed that some popular embed providers like Youtube and Soundcloud have thumbnails, but if would be cool if I can somehow enable thumbnails (preferably using some kind of API) for my own iframe.How come some iframes have thumbnails and some don’t? Does Miro use Embed.ly behind the scene to get extra data to display?
I'm developing a webapp where I listen to the selected event on any board component and update the state on the react component, however, after each request, the listener is being triggered 2x compared to the last selection event.The code is as follows:function myComponent() { const [counter, updateCounter] = useState(0); miro.onReady(() => { miro.addListener("SELECTION_UPDATED", () => { console.log("selection updated triggered"); updateCounter((counter) => counter + 1); }) }) return ( <div>{counter}</div> )} The counter values is doubling the values like follow: 0, 1, 3, 7, 15, 31…Can someone help me understand what's going on?
I need to sync between access in MS teams and Miro. My use case is similar to this link : Add and remove users (miro.com), but the endpoints are deprecated now.I just wanted to check, if there an endpoint to remove the users from a board, if so could I please get the details of that .
Does miro provide user management through API.I found i can Invite a user and read a user.But didn’t find anything for updating and deleting.
Dear All As far as i know is it only possible to choose from three kinds of text-block styles. I was wondering if there is a work-around to manually make block texts (the vey square ones), like the ones you can select in Word for instance. Would be very Thankful for any advice,Dustin
Hi! I am trying to install a plugin for a Team as described in https://developers.miro.com/docs/share_your_app_wp, I reach the selection page, i click on install, i get redirected to the expected html page, but the plugin does not show up. It used to do that, when i first did that several weeks ago. What am i doing wrong? Any clues? ThanksFalk
I’m trying to implement the boardPicker with anonymous approach but i’m getting 401 from: i have and endpoint to retrieve the token and is returning it with next format: How i know what format miro api is wating for?Thanks!
I want to get current user email address on Miro board load using Miro object. Please help me which object we have to use to get current user email.
I am embedding icons to Miro Board using bottomBar extension, i am able to add Circle icon but i want to add help icon , book icons and other icons.Please let me know how to get the html of icons.
For some context, I’m looking to connect another one of our applications to Miro to populate a Kanboard with Project data. I’m accomplishing the creation and description portion of this idea programatically, but needing to put the idea into the correct swimlane that indicates each individual projects progress manually. Also unable to add tags programatically which contains project tag data. I’m wondering if the kanban board will ever get support to add cards to an existing kanboard via api, and also interested in when adding tags to cards will be a supported feature.
Hello everyone, I am using the embed miro whiteboard to enable users to create anonymous board. One of our customers ask us how Miro handle them. Are they deleted after an amount of days or are they stored forever ?I have searched in the documentation but I have found nothing about that. Thanks for your help :)
Hi, the REST API rate limit and how to control it by using the responses is good described and works well (Even if being slow. But it is anyhow limited to 1000 widgets, but this is another question...). How can I control the rate limit for the SDK usage?The only statement I have found so far is: “The Miro SDK enforces rate limits on widget operations. Each operation (create, update, or delete) on one widget costs one point. The current rate limit is 10,000 points per minute, summed over all widgets, and overall web-plugins, executing in a single client.”Do I need to count on my own? Or are there any methods to check the remaining points or the time when the rate limit is replentished? Thanks and regards,Sebastian
I’ve only been using the Miro API for a couple of hours, and I searched the board for a solution to this problem, but nothing came up.I’m trying to use the API to update sticky notes with new text from an Airtable database. My test code in an Airtable scripting block is successful in retrieving all widgets on a board and isolating those widgets that are sticky notes, but I’ve hit a snag when attempting to update them. The API docs only show a partial code example for updating a widget, and while I can successfully update one of these sticky notes interactively using the “Try It” button in the docs, my code always returns a 415 error: “Unsupported Media Type”. I’m only trying to update the widget text, so I don’t know why this media-type error is coming back.Here’s how I’m setting up the fetch options:The docs list a “RAW_BODY” body parameter, but the code example doesn’t show where this should go. I’ve tried adding an outer object with that parameter wrapped around the main object, but
Dear miro team,I have to pass a long string to a modal when it’s being open. The app is supposed to run at client side only, and wrigin the string to board, then reading it from the modal is not a good option.This is the sudo code:`miro.board.ui.openModal('./editor.html', { dataToBePassedToModal: text })`Is that possible?
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.