Get an embedded url for the given user identifier.
Request body
Embedded user identifier
Canvas ID for dashboard embeds
Doc ID for doc embeds
Drive path to the data-app .embedded.html artifact. Required when embed_type is 'data_app'.
Optional query params for redirect URL
Embed target type
Whether to clear prior auth session
Optional timestamp for request signing
Route path for route embeds
Seconds until the embed token expires. Only used when embed_type is 'data_app'. Defaults to 86400 (24h). Min 60, max 2592000 (30d).
Hostnames allowed to embed the iframe, set as Content-Security-Policy frame-ancestors. Default is allow-all ('*'). Only used when embed_type is 'data_app'.
Response
Success
Embed URL (Supabase magic link for docs, signed direct URL for data apps)
Timestamp when the token expires; only populated for data_app embeds