Skip to main content
POST
/
getOEmbedURL
Get OEmbed URL preview
curl --request POST \
  --url http://localhost/mogl/mogl-backend/api/getOEmbedURL \
  --header 'Content-Type: application/json' \
  --data '
{
  "link": "https://example.com/post",
  "platform": "instagram"
}
'

Documentation Index

Fetch the complete documentation index at: https://developer.mogl.online/llms.txt

Use this file to discover all available pages before exploring further.

Body

application/json

URL to get OEmbed for (NOT url)

Example:

"https://example.com/post"

platform
string

Platform name (e.g. twitter, tiktok)

Example:

"instagram"

Response

200

OEmbed preview data