Get the embed code of a channel
get_widget_embed_codeHTML to paste on a site for a channel: website widget (settings load from the server), website button (style it here: text, colours, radius, size — not stored server-side) or Slide Presenter (also the direct link). Read-only.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Agent id (UUID) — from list_agents | |
| size | No | Button only | |
| text | No | Button only: label (default "Talk to Assistant") | |
| text_color | No | Button only | |
| border_radius | No | Button only (px) | |
| connection_id | Yes | Channel (connection) id (UUID) — from list_agent_connections | |
| background_color | No | Button only | |
| modal_primary_color | No | Button only: colour of the chat window it opens |