Get embed code
get_embed_codeCode to embed a live, animated mascot in a website or app ( web component, React, or Lottie). For private mascots a signed, expiring link is created.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| look | No | Show this look (get_mascot lists them) instead of the current one | |
| props | No | Show or hide props in this embed only, by id or name: { mug: false } | |
| canvas | No | Run a canvas (create_canvas) by name instead of one animation; the app then drives it with setInput/fire | |
| public | No | Make the mascot public so the embed never expires | |
| trigger | No | auto | |
| animation | No | idle | |
| framework | No | html |