Widget API: Drift Meetings

Updated a month ago ​by Sara Pion

If you are on the Free plan but still want to use the scheduling feature in your Drift profile, you can use this configuration to set up your calendar!

Drift Meetings

  • Trigger a meeting- scheduleMeeting(driftUserId)

If you have Drift Meetings enabled, you can use api.scheduleMeeting(driftUserId) to programmatically trigger the scheduling card flow.


drift.on("ready", function(api) {
  api.scheduleMeeting(driftUserId); /* <-- your Drift User ID here */

You'll need your Drift User ID to use this API. Don't know yours? Just ask us.

A more complex example, where we trigger the API when a button on the page is clicked.

<button id="schedule-meeting-button">
  Book a meeting with me
(function() {
  var driftUserId = 6;
  var $button = document.getElementById("schedule-meeting-button");
  $button.addEventListener("click", function() {
    drift.on("ready", function(api) {

Was this article helpful?

Can’t find what you’re looking for?

Talk To Us