How to get embed urls from the REST API?

  • 15 March 2022
  • 3 replies
  • 113 views

Badge +1

I’m trying to get some data from boards using the REST API and I want to get the URLs of embeds, however the url field is always empty for embeds like below:

{
"id": "34587645207273844312",
"type": "embed",
"title": "Preview the Timer",
"url": "",
}

Is there some way of populating this information?

 

Edit: Same question goes for retrieving images - where is the image data and/or URL


3 replies

Userlevel 6
Badge +4

Hey @Emile Paffard-Wray,

Our sincere apologies for the delay in seeing this post—are you still having trouble getting the URL for an embed via API?

If so, can you confirm what kind of embed widget you’re trying to retrieve? (e.g., a video, a site, etc.) I haven’t run into this problem locally, but definitely want to make sure we can help!

If you haven’t yet, you can also try our V2 endpoint to get this URL:
https://developers.miro.com/reference/get-embed-item

Let me know when you have a chance—thanks!
Will

Badge +1

Hi @Will Bishop - looks like the new API releases have solved my original problem, thank you!

Any ETA on being able to retrieve the URL for images as well?

 

Thanks,

 

Emile

Userlevel 6
Badge +4

Glad to hear it @Emile Paffard-Wray!

Regarding URLs for images, this is not currently supported but it is on our product team’s radar—we hope to support this soon 🙂

You can keep an eye on our public roadmap here and we’ll be happy to share updates on this front, as we have them!

Best,

Will

Reply