Quick Start
How to start using our API on one of the embedded models on your site.
Last updated
How to start using our API on one of the embedded models on your site.
Last updated
To begin using the API with an embedded model:
Import the API as a module.
Create an API instance and pass the DOM id
of the iframe
containing the embed (web component
coming soon).
Wait for the instance to initialize.
Use the available methods to interact with the model.
Errors returned by API methods reject the corresponding Promise. Rejection includes a standardized error format for consistent handling.
All API communication is handled using events. As a result, all methods return Promises.