Generate Embed Session Token

Generates a short-lived, limited-scope temporary access token to allow your app to display embedded Lucid documents in an iframe. The token allows the embedding website to load the document picker and document viewer, but does not grant access to any additional resource within Lucid.

Generates a tightly-controlled, limited scope, short-term temporary access token to allow your app to display embedded Lucid documents in an <iframe>.

  • The token is short-lived, and allows the embedding website to load the document picker and document viewer, but does not grant access to any additional resource within Lucid.

Valid Authentication Methods

OAuth 2.0 User Token and Account Token Scopes:

  • lucidchart.document.app.picker.share.embed
  • lucidscale.document.app.picker.share.embed
  • lucidspark.document.app.picker.share.embed

Body Params
uuid

ID of the document embed. This is needed for viewing an existing embed.

string
required

The URL (including protocol) of the webpage that will host the embed. Must use the https:// scheme (e.g., https://example.com, http://localhost).

sessionConfig
object
Responses

400

Bad Request. Occurs when origin is missing a protocol, uses an unsupported scheme, or is not a valid URL.

401

Access token is missing or invalid.

403

Access to the embed is forbidden.

404

The embed id in the parameter is not found.

Language
Credentials
OAuth2
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/jwt