List read-only links
List the scene's read-only (embeddable) links, newest first.
A read-only link opens the scene for anyone, without signing in, and can be embedded in another site with its embedHtml iframe. Viewers can't change the scene; they see it as it is saved now.
A scene can have several read-only links. Each one starts on its own area of the scene and has its own display options. This is not the scene's public link (PUT /scenes/:sceneId/link-sharing), of which a scene has one.
GET
apiKeyheader
AuthorizationBearer <Bearer>The API will use the Authorization: Bearer <your-key> header for requests.
sceneId*stringThis response returns the scene's read-only links with their URLs.
application/json- response
This response returns the scene's read-only links with their URLs.
links*array<>curl -X GET 'https://api.excalidraw.com/api/v1/scenes/string/readonly-links'Example Response
{
"links": [
{
"id": "string",
"scene": "string",
"workspace": "string",
"created": "string",
"updated": "string",
"updatedBy": "string",
"creator": "string",
"preview": "string",
"previewPath": "string",
"type": "readonly",
"status": "active",
"name": "string",
"data": {
"showTitle": true,
"showMenu": true,
"darkMode": true,
"disableInteraction": true,
"showDarkModeToggle": true,
"showFrameOutlines": true,
"x": 0,
"y": 0,
"width": 0,
"height": 0
},
"url": "string",
"embedHtml": "string"
}
]
}Last updated on