Discuss everything related to Miro API, SDK, embedding and Miro Platform apps development.
Recently active
I am migrating an app over to Miro’s V2 API and I’m finding that font sizes are not available in the the style object for text items. E.g. I have a text node that has the following style object:{ "fillColor": "#ffffffff", "fillOpacity": "1.0", "fontFamily": "open_sans", "textAlign": "left", "color": "#1a1a1a"} I know from looking at the board and by checking it on V1 of the API that this text item in fact has a font size of 144px, but this isn’t present on the V2 API response. Is there some way of retrieving this font size? Otherwise I am going to have to mix the V1 and V2 APIs which doesn’t exactly seem like good practice.
I’m using the PATCH https://api.miro.com/v2/boards/{board_id}/shapes/{shape_item_id} to try and change the text content and background colour of a shape. The request I am using (via https://beta.developers.miro.com/reference/rest-api-update-shape) is curl --request PATCH \ --url https://api.miro.com/v2/boards/<board_id>/shapes/3458764521610298308 \ --header 'Accept: application/json' \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "data": { "content": "new text" }, "style": { "fillColor": "#d0e17a" }}'which results in...{ "type": "error", "code": "invalidParameters", "message": "Position (x and y) is required", "status": 400}if change the request to only include the “style” section i get a 200 response.I have added a position block but that doesn’t change the response.Any ideas?
I have very basic programming skills and I'm struggling to even get started with Miro Web SDK. I'm trying to follow the quickstart guide: https://developers.miro.com/docs/try-out-the-web-sdk and having the following problems: First, I'm getting a completely different output when I enter "miro.board" into the developer console. According to the documentation, I’m supposed to get:N {ui:W, viewport: X, getIdToken: f, getAppData: f, setAppData: f}But instead I’m getting:{getOnlineUsers: ƒ, __getParamsFromURL: ƒ, __disableLeftClickOnCanvas: ƒ, __enableLeftClickOnCanvas: ƒ, getAllObjects: ƒ, …} Then, when I enter the example code for creating a shape item:const shape = await miro.board.createShape({ content: '<p>This is a very yellow star shape.</p>', shape: 'star', style: { fillColor: '#FEFF45', }, x: 3000, y: 4500, width: 280, height: 280,}); I get an error messageUncaught TypeError: miro.board.createShape is not a function at <anonymous>:1:32 What am
Hi everyone, after the 18/06 I have a problem with one of the frames on my board. It is not editable and I can’t even pick it to delete. Problem isn’t solved with opening the board in a new browser. Here is the picture.
Hello, Why I can’t sync the Sketch files with Miro,I updated everything and I have the newest version of both programs,My colleague has the same issue,
Hi! I'm hoping some knowledgeable community member can help. I have a website where users create spaces and I want to allow users to display a specific miro board in the space. They may have multiple spaces and can one 1 board to each space. So, we need a way for a user to click a button, login to their miro account, select a board and then save the iframe details to their space in my site. Any thoughts on what api etc exists? Thanks in advanceCameron
An option to be able to save boards to OneDrive.
When a board owner is removed from a team by an administrator, ownership of the board is transferred to the team administrator and the board is not moved to the trash.However, when the board owner has the board open in his/her web browser and the board owner is removed from the team by the administrator, the board is moved to the trash.Is this a specification? Is it a glitch?
Hi everyone,We have a school project to do and I wanted to add a visual timer, but not the one we have at the bottom because the countdown is not dedicated to everyone, and is about 5 days long.I tried to add an embed one from https://www.watchisup.fr/ but the timer appears with a play button and everyone must click on it in order to see it in a popup window…What I wanted to do is for the timer to be displayed straight in Miro, with the clock ticking automatically for everyone. Is it possible to display an animated timer in that way? I can for example directly add a google slide document in it and visualize it… why I can with my timer?Also if it isn’t possible, when I click on the play button it opens a popup page inside Miro, isn’t it possible to open it like youtube videos or google slides, on the board directly ? Thanks in advance,Sacha
Is it possible to embed just the frame of a board into a website?
Hello,I am trying to add a text over the line, and I understand that the current API do not support text over the line.https://developers.miro.com/reference#line Two questions:Do you have a plan to add an API to control the text over the line? Do you have any workaround to add text?I am currently trying to add an independent Text close to the Stickers.
Hi, Is there any way to include “tags” into response from Get Board Items API call https://api.miro.com/v2/boards/{board_id}/items ?
Hi everyone! Over the last year, we’ve been hard at work revamping our Miro Developer Platform—Focusing on your input to see how we could create a next generation tool for developers like yourselves. We’re all about finding new and innovative ways to extend the power of Miro, and today we’re excited to announce our official release of Version 2.0 of the Miro Developer Platform. 🚀 We’d like to first thank all of you for helping us test and provide feedback on our beta version the last few months, and hope you’re as excited as we are to officially launch version 2. With a fully re-written API, SDK, and overall Platform Experience, we’re aiming to empower you and your teams to build the next big thing. When building this v2 Developer Platform, we used feedback from our developer community to guide us as we focused on scalability, reliability, and the developer experience. Now that Version 2.0 is officially launched, we’ll be putting all of our efforts into continuing to grow and develop
How can I set up automated connection between miro and jira during converting sticky to jira task.Is it possible that during this process link will be pasted automatically in the jira task? We wish to avoid adding miro board every time manually by clicking the plug in to connect with miro board separately
Is there any possibility to import/integrate Mixpanel Dashboards into Miro dashboard?
Hi, Is it possible to get Items via Rest API sorted by modified_at desc?
Hi, I have some files uploaded to my board and I can download original file via UI. Is it possible to download it via Rest API?
Hi, I created app with drag and drop functionality. And it works fine on chrome, but it doesn’t work on Firefox.I tried running your example project https://github.com/miroapp/app-examples/tree/main/examples/drag-and-drop and it also doesn’t work after dropping first image, which work fine. Instead of creating image it want me to drop file. And each time i try to drop image the same error shows in console. Below is screenshot of problem.
I’m using SDK to create group of objects on the Miro board. When their quantity is up to 100 very often not all of them are being added to the board.In the console I see the error: “Cannot find ID for board item at O.responseHandler”Do you know what might be the issue?Thanks
Hi, I noticed a strange behavior. Steps:I have two boards I get access token via my app via oAuth 2.0 Send Get Boards API request (v2) I see in response 2 boards. I will add one more board via UI. Send Get Boards API request again In response still 2 boards instead of 3Refreshing token does not help.How can I get access to resources created AFTER I generated oAuth token?
I am developing a plug in using the SDK V2. I can use the plugin perfectly in a board, then go back to the dashboard, then enter the same board or different one, then click on my plug in and is not responding. These are the error messages that appear on the console:First error message: when going back to the dashboard Second error message: going back to a boardI am using Chrome.
Hello,I cannot update the color of simple card (not app card) with API V2 method (patch).I use dev docs on website (all query params of token and board id’s i removed for screenshot):Here you can see i am passing style → cardTheme #f24726 color.But when the method fires (we can see the result) in response, the color stays the same as it was:You see it’s #fac710. Fix your method please
I understand the SDK is Free. But, is it free forever or do I have to upgrade to a plan?
Hi there,I ran into a problem that a 500 response is returned to a valid request if you send it via Intellij Idea. (via Postman is ok){ "type": "error", "code": "internalError", "message": "Internal server error", "status": 500}I am sending the request to “api.miro.com/v2/boards” endpoint and have this issue, but if I’m sending request to api.miro.com/v1/boards” it works fine. This is strange.Similar problem was here.
Dear Miro Team,We want to display Miro board into our application without asking user to sign-in to Miro. We want the users to log in our application (we are using OKTA as authentication/authorization mechanism) and will navigate to the page where we display miro board in the iframe. Even is the user is not logged in to Miro and he does not have the miro cookie, we want to display the board. Is that possible or miro login is mandatory before displaying the board?
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.