Skip to main content
For comprehensive documentation on embed events including usage examples and all available events, please refer to the Cal.com Help Center - Embed Events.

Internal Events

These events are used internally by the embed system for communication between the iframe and parent window. They are prefixed with __ and are not intended for external use.
Events that start with __ are internal and should not be relied upon for external integrations as they may change without notice.
To get more details on how Embed actually works, you can refer to this Embed Flowchart.

Copy Prompt embed

The Copy Prompt embed adds a button to your website that helps visitors book the event type through an AI assistant. Depending on the mode you pick, the button either copies booking instructions for the visitor to paste into their assistant, or opens one assistant with the instructions already typed. The assistant connects to the Cal.com MCP server and books the event type. To create one, open an event type’s options menu, select Embed, and click the Copy Prompt button below the embed type cards.
Embed dialog showing the four embed type cards with a Copy Prompt button and an AI assistant logo below them
The editor has these options:
Copy prompt button editor with the Embed theme dropdown, the Multiple assistants and Specific assistant cards, the Label dropdown, the list of assistant checkboxes, the HTML snippet and a live preview of the button
The editor gives you HTML and React snippets; there is no React Atom snippet for this type. Both snippets are self-contained: they don’t load the Cal.com embed script, so this embed fires none of the events on this page. They load the assistant logos as images from the Cal.com web app, for example https://app.cal.com/ai-assistants/claude.svg. With Auto, the HTML snippet switches colors with a prefers-color-scheme media query and the React snippet listens for changes with matchMedia. The button text on your website is always in English.

Multiple assistants

When a visitor clicks the button, it copies this prompt to their clipboard and shows the tooltip “Copied. Open your assistant and paste the instructions”:
The HTML snippet is a button with a short script that rotates the logos and copies the prompt.

Specific assistant

The button is a link that opens the chosen assistant in a new tab with the prompt in its chat box. Nothing is copied and no tooltip is shown. The HTML snippet is a plain link with no script. ChatGPT, Claude, Grok and Perplexity get the same prompt as in Multiple assistants mode. Cal.ai opens the Cal.com assistant on the Home page with book <username>/<event-type-slug> typed in, because it already knows how to book on Cal.com. Visitors who aren’t signed in are asked to sign in first and then see the prompt in the chat box.
Copy prompt button editor in Specific assistant mode with the Dark theme, Cal.ai chosen from the radio list of Cal.ai, ChatGPT, Claude, Grok and Perplexity, and a dark preview button reading Open in Cal.ai
If your booking page is on an organization or custom domain, or you self-host Cal.com, the copied prompt and the prefilled link contain the full booking URL instead of <username>/<event-type-slug>.
The Copy Prompt embed is only available for event types. The embed dialogs for routing forms and Cal Events don’t offer it.

Cal Event embed

You can embed a published Cal Event on your website. To open the embed generator from the Events list, go to Events, open the ... menu on the event’s row, and select Embed. You can also select Embed in the event editor’s header.
Events list with the row menu of a published Cal Event open, showing Edit, Duplicate, View guests, Share event, Embed, Cancel event and Delete
In the Events list, Embed is only listed for published events that haven’t ended. It isn’t listed for draft, past or cancelled events. Like the editor’s Embed button, it’s only shown on desktop-width screens. The generator uses the event’s link and offers Inline embed, Floating pop-up button and Pop up via element click. It doesn’t offer the Email or Copy Prompt embeds, or the Hide link details option.
Embed dialog for a Cal Event opened from the Events list, showing the Inline embed, Floating pop-up button and Pop up via element click cards