Generate Document Picker Token

Generates a token that can be used to embed a document picker for the specified product. Only documents for the specified product are shown in the picker.

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
enum

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

Allowed:
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
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/jwt