Sign in
Developer API

Paid plans only: Rise, Plus, Pro. See plans

Code examples

Create a scheduled meeting from your server. Both examples read the key from an environment variable.

JavaScript

JavaScript (Node.js)
// Node.js 18 or newer, on your server. Keep the key in an environment variable.
const API = "https://bifrostx.com/api/v1/public/meetings";
const headers = { Authorization: `Bearer ${process.env.BIFROSTX_API_KEY}`, "Content-Type": "application/json" };

async function createMeeting(body) {
  const res = await fetch(API, { method: "POST", headers, body: JSON.stringify(body) });
  const data = await res.json();
  if (!res.ok) throw new Error(`${res.status} ${data.error}: ${data.message}`);
  return data.meeting;
}

const meeting = await createMeeting({
  title: "Design review",
  startsAt: "2026-12-10T10:30:00Z",
  durationMin: 45,
  invitees: ["[email protected]"],
});
console.log(meeting.joinUrl); // https://bifrostx.com/kmn-pqrs-tuv

Python

Python
# Python 3, with the requests package, on your server.
import os
import requests

API = "https://bifrostx.com/api/v1/public/meetings"
HEADERS = {"Authorization": f"Bearer {os.environ['BIFROSTX_API_KEY']}"}

def create_meeting(**fields):
    r = requests.post(API, json=fields, headers=HEADERS, timeout=15)
    data = r.json()
    if not r.ok:
        raise RuntimeError(f"{r.status_code} {data['error']}: {data['message']}")
    return data["meeting"]

meeting = create_meeting(
    title="Design review",
    startsAt="2026-12-10T10:30:00Z",
    durationMin=45,
    invitees=["[email protected]"],
)
print(meeting["joinUrl"])  # https://bifrostx.com/kmn-pqrs-tuv