How to Set Up Signed Embed
Seamlessly Integrate notebook into external services.
How to Set Up
Prepare signed embed
Issue token from server
post
Body
api_keystring · min: 24 · max: 24RequiredExample:
API Key. Can be issued from 'Workspace settings > API Keys'
6729a28bc7100424ad4e2e5dapi_secretstring · min: 32 · max: 32RequiredExample:
API Secret. Generated when issuing 'API Key'
c711defdff5f4e3e8e53d4f408579b9aintegration_idstring · min: 24 · max: 24RequiredExample:
Integration ID. Can be obtained from the signed embed settings
671ef14b0d08cf6c657df7dapage_idstring · min: 24 · max: 24RequiredExample:
Page ID to be displayed in the notebook. Can be obtained from the signed embed settings
671ecbbf2990c63fea3b3a26token_user_idstring · min: 1Required
Specify the user ID within the application where the notebook is embedded. Ensure that the token can uniquely identify the token user for security reason.
expires_ininteger · min: 1 · max: 86400OptionalExample:
Token expiration time in seconds. Default is 3600 seconds (1 hour)
3600cache_max_ageinteger · max: 86400OptionalExample:
Cache max age in seconds. Default is 86400 (24 hours)
86400Responses
200
Generated token
application/json
400
Bad request
application/json
401
Unauthorized
application/json
post
/api/notebook/issueTokenEmbed iframe
[Recommended] Pattern1. Passing token via postMessage
Pattern2. Passing token via URL parameter
Appendix
Client-side options
key
description
Message list
Messages to the iframe
type
description
Messages from the iframe
type
description
Frequently Asked Questions
Getting "Missing param: xxx" error when issuing a token
Getting "The following parameters must be set by the server" error when sending "SET_TOKEN" message
"SET_TOKEN" message not reflected
Last updated
Was this helpful?

