# Powering a scheduling marketplace

> A Scheduling Marketplace: What does it mean? How do we use it?

Published: 2022-11-16 · Author: calcom-team

Canonical: https://cal.com/blog/powering-a-scheduling-marketplace

_Updated November 2026: Cal.com's platform product for marketplaces is now_ [_coss.com Scheduling_](https://coss.com/products/scheduling?source=blog)_, from the team behind Cal.com. This post now describes how to power a scheduling marketplace with it._

#### **A Scheduling Marketplace: What does it mean? How do we use it?**

coss.com Scheduling was built to power your scheduling marketplace, but many people get confused when they hear the words “scheduling marketplace.”

  

#### **What exactly does it mean to power a scheduling marketplace?**

The ideal scenario for any company is for a customer to stay on their site and not be redirected to another site for any action. coss.com Scheduling makes this easy for organizations to accomplish. 

The best way to fully explain how this works is by using an example. 

Let’s say you’ve chosen coss.com Scheduling to power your business’ scheduling marketplace. What does this look like? It all starts when a dog sitter signs up on your brand new platform, which we’re going to call BestDogSitting. When the sitter creates an account on BestDogSitting, your server adds them to coss.com as a host through the API, under your own id for them, so there’s no second account or login. The sitter then sets their hours and connects their Google, Microsoft, or Apple calendar, either in your own screens or in a host portal you embed, and you create the services dog owners can book, such as a 30-minute meet and greet.

When a dog owner wants to book, BestDogSitting can embed coss.com’s booker in its own page, or build its own front-end components on the API, thus creating a native scheduling experience for customers without having to rebuild the entire scheduling solution. If there’s anything our team has learned, it’s that scheduling and time zones are extremely tough and take way more work than most engineers realize.

  

#### **Where did all of this come from? The answer is simple: Lean Hire.**

[Lean Hire](https://leanhire.beondeck.com/) is a hiring marketplace originally created by our CEO, [Peer Richelsen](https://i.cal.com/peer/meet). When using Lean Hire, organizations have the option to contract-to-hire as a trial period with their prospective candidates rather than go all in right away. The idea was widely used at OnDeck (where it was eventually acquired) and is still in use as the main way to bring on new team members at Cal.com as well.

With Lean Hire, every time a new user was created, the candidate either had to add their own Calendly link or Peer needed to manually create a new account for them. This wasn't the greatest experience because it took them away from the Lean Hire website, and Peer had no data or control over what was going on at the receiving end.

As he went into problem-solving mode, Peer realized that he needed a scheduling product that could either be fully embedded into the website or have robust APIs to basically automate tasks such as creating a new user, creating scheduling links, creating availabilities, and more.  
  

#### **Ok, that’s interesting, but what does that all mean?** 

Fully powering a scheduling marketplace requires strong automation done through APIs. These APIs give the ability to fully create the scheduling experience for companies to appear as native as if they created it on their own.

That’s what coss.com Scheduling does. Hosts, their hours, the services they offer, open slots, and bookings are all API calls, and webhooks tell your backend when a booking is confirmed, rescheduled, or cancelled. Every booking takes a claim on its sitter’s time, and the database refuses two claims that overlap, so a sitter can’t be double-booked even when two owners click at once. Because coss.com is one developer platform, the same API key also sends the confirmation emails and SMS reminders.

  

#### **On-Premise**

When this post was first written, Cal.com’s platform product could be self-hosted. That’s no longer the case: coss.com Scheduling is a hosted service, so you don’t run servers, databases, or calendar sync yourself.

You still keep control of your users’ data. Hosts and attendees carry your own ids, so you don’t have to send names where an id will do. Attendee contact details are encrypted, calendars contribute only when someone is busy (never the titles or guests of their other events), and webhooks carry ids, times, and statuses. You can erase an attendee’s details at any time, and HIPAA with a signed BAA is available on an Enterprise contract.

  

#### **This is awesome; how can I use this to benefit my business?**  

Everything is done through the API, from your server, with one API key. Here are the resources a marketplace uses most:

  

**API resources:**

Hosts

Schedules

Event types

Slots

Bookings

Holds

Calendars

Sessions (for the booker and host portal you embed)

Attendees

Webhooks

Here are some examples of how to use them, with the `coss` SDK for TypeScript (the API reference shows each call in Python, Go, Ruby, PHP, Java, and .NET too):

#### **Booking API**

**To add a sitter, their hours, and a service owners can book:**

```
import { Coss } from "coss";

const coss = new Coss(); // reads COSS_API_KEY

await coss.scheduling.hosts.create({
  uid: "sitter_482",
  name: "Ana Reyes",
  email: "ana@example.com",
  time_zone: "America/New_York",
});

await coss.scheduling.schedules.create("sitter_482", {
  rules: [{ days: [1, 2, 3, 4, 5], start: "09:00", end: "17:00" }],
});

const { data: eventType } = await coss.scheduling.eventTypes.create({
  title: "Meet and greet",
  duration_minutes: 30,
  buffer_after_minutes: 10,
  hosts: [{ host: "sitter_482" }],
});
```

**To list open times and book one for a dog owner:**

```
const { data: slots } = await coss.scheduling.slots.list(eventType.id, {
  start: "2027-01-04T00:00:00Z",
  end: "2027-01-11T00:00:00Z",
});

const { data: booking, error } = await coss.scheduling.bookings.create({
  event_type: eventType.id,
  start: slots.data[0].start,
  attendee: {
    uid: "owner_77",
    name: "Sam Lee",
    email: "sam@example.com",
    time_zone: "America/Chicago",
  },
});

if (error?.code === "slot_unavailable") {
  // Someone got there first: show the times again.
}
```

**To move or cancel a booking:**

```
await coss.scheduling.bookings.reschedule(booking.id, { start: "2027-01-06T15:00:00Z" });

await coss.scheduling.bookings.cancel(booking.id, { reason: "Owner is travelling" });
```

**To embed the booker on your own page instead of building one:**

```
// On your server
const { data: session } = await coss.scheduling.sessions.createForBooker({
  event_type: eventType.id,
  attendee: { uid: "owner_77", name: "Sam Lee", email: "sam@example.com", time_zone: "UTC" },
});

// In the browser
import { mountBooker } from "coss/scheduling";

mountBooker({ url: session.url, container: document.getElementById("booking") });
```

  
  

coss.com Scheduling, from the team behind Cal.com, is built to power your scheduling marketplace. We're here to help you make your organization successful.

Want to get started? Check out the documentation here: [https://coss.com/docs/scheduling](https://coss.com/docs/scheduling?source=blog) 

  

[Start building on coss.com Scheduling for free](https://coss.com/products/scheduling?source=blog). Want scheduling for yourself or your own team instead? [Cal.com is free for individuals](https://cal.com/signup).
