Handling loading/storing your end-user content
POST
endpoint in your Embed’s settings.
Then create the endpoint on your server:
<Embed />
component on your frontend, recall that it will need to perform an authentication on your server to generate a valid token:
client.authenticate
:
client.authorize()
method accepts a context
argument where you can pass additional information that you may need to throughout a session. This context
argument will be passed whenever your endpoint is called.
For example:
GetDocument
payload will be sent your endpoint:
UpdateDocumentContent
payload will be sent your endpoint: