Embed Booking in Your App
Add a "book a call" step to your product's onboarding and dashboard. Two lines of HTML for the embed, a single event listener to hide it once they've booked, or call the API directly if you prefer full control.
Onboarding Step (Inline Embed)
Drop the widget inline inside your onboarding flow. The calendar renders directly on the page — no modal, no extra click.
<script src="https://gettalk.co/embed.js"
data-username="your-username"
data-mode="inline"
data-container="onboarding-call"></script>
<div id="onboarding-call"></div>Replace your-username with your GetTalk username. The data-container attribute tells the widget which element to render into.
Dashboard Nudge (Popup)
Show a floating "Book a call" button in your dashboard without occupying page real estate. The booking modal opens on click.
<script src="https://gettalk.co/embed.js"
data-username="your-username"
data-mode="popup"
data-text="Book a call"></script>Hide the Nudge Once They Book
Listen for the gettalk:booking:complete event to know the moment a booking is confirmed. Use it to remove the nudge, mark the user as booked in your backend, or advance them to the next onboarding step.
document.addEventListener('gettalk:booking:complete', (e) => {
// mark the user as booked in your app so the nudge stops showing
hideBookingNudge();
});The event fires on document and bubbles up from the widget iframe. You can also read e.detail for the booking payload (id, startTime, attendeeEmail). See the full event reference in Embed Widget docs.
Prefer the API?
If you want to build your own booking UI or handle scheduling server-side, use the REST API directly. Authenticate with a gtk_ API key from your dashboard.
Fetch Availability
curl "https://gettalk.co/api/v1/availability?username=your-username" \
-H "Authorization: Bearer gtk_your_api_key"Create a Booking
curl -X POST "https://gettalk.co/api/v1/bookings" \
-H "Authorization: Bearer gtk_your_api_key" -H "Content-Type: application/json" \
-d '{"startTime":"2026-07-01T09:00:00Z","endTime":"2026-07-01T09:15:00Z","timezone":"Europe/Oslo","attendeeName":"Jane","attendeeEmail":"[email protected]"}'See the REST API reference for all endpoints, parameters, and response shapes.