Generate Document Picker Token

Generates a tightly-controlled, limited scope, short-term temporary access token to allow third parties to display the embedded document picker. The token is short-lived (5 minutes), and allows the embedding website to load the document picker, 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
  • lucidspark.document.app.picker
  • lucidscale.document.app.picker
Body Params
string

Determines which product is used for the document picker. Only documents for this product are shown.

string

The domain that will be used to host the webpage in which the document picker will be embedded. This will be used as the targetOrigin parameter in a call to window.postMessage when the user selects a document.

Responses

400

Bad Request - when parameters are missing or invalid.

403

Forbidden - when the access token is not allowed to generate a document picker token for the provided product.

Language
Credentials
OAuth2