---
title: "Give calls a meeting link"
description: "Give each booking of a call its own Google Meet, made in the host's Google Calendar, or one link of your own that every booking shares."
---

> Documentation Index
> Fetch the complete documentation index at: https://docs.sherpo.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Give calls a meeting link

A call happens somewhere online, and the people who book it need the link. A calendar product picks how its bookings get one in `settings.calendar.meeting`: a Google Meet made for each booking, or one link you enter once, such as a Zoom or Teams room. Each booking then answers its link as `meeting`. This guide uses the `sherpo` helper from [your first call](/merchant-api/first-call) and a token with `product:write`.

## A Google Meet per booking

`{ "kind": "google_meet" }` asks Google for a fresh Meet each time a call is booked. Google makes it in the calendar the call writes its bookings into, so the call needs `settings.calendar.sync.bookings` first (see [Sync a host's calendar](/merchant-api/guides/calendar-sync)). Without one, the write answers `invalid` at `settings.calendar.meeting.kind`, and so does taking the bookings calendar away while the call asks for a Meet:

```bash
curl -X PATCH 'https://api.sherpo.io/merchant/v1/stores/STORE_ID/products/2c7e9a4b-5d1f-4b8a-9e3c-6a0d2f4b8c1e' \
  -H "Authorization: Bearer $SHERPO_TOKEN" \
  -H 'Idempotency-Key: meet-intro-call' \
  -H 'Content-Type: application/json' \
  -d '{
  "settings": {
    "calendar": {
      "meeting": {
        "kind": "google_meet"
      }
    }
  }
}'
```

```js
const answer = await sherpo('PATCH', '/v1/stores/STORE_ID/products/2c7e9a4b-5d1f-4b8a-9e3c-6a0d2f4b8c1e', {
  body: {
    "settings": {
      "calendar": {
        "meeting": {
          "kind": "google_meet"
        }
      }
    }
  },
  key: 'meet-intro-call',
});
```

Answers `200`, abridged:

```json
{
  "id": "2c7e9a4b-5d1f-4b8a-9e3c-6a0d2f4b8c1e",
  "category": "calendar",
  "settings": {
    "calendar": {
      "sync": {
        "bookings": "4b9e2d7f-1a6c-4e3b-8f5d-0c2a7e9b4d1f"
      },
      "meeting": {
        "kind": "google_meet"
      }
    }
  }
}
```

The Meet belongs to the booking's event in the host's calendar, which Sherpo marks private: people who see the host's events see its time alone, though anyone the host lets change their events still sees the link. It stays the same when the booking moves. If the host replaces it in their calendar, the booking follows the next time its event is written (a move, or a change to the call); if they take it off or put another call in its place, the booking goes without one and Sherpo never asks for another. Google sometimes takes a moment to make it, and a booking can read without its link until then. If the host's account takes no Meet (a Google Workspace admin may have turned Meet off), the event is written without one and the booking goes without a Meet. If Google fails to make one, Sherpo asks a few more times first. A booking that went without one asks again when it next moves. The customer joins as a guest, so the host lets them in from the call.

Turning Meet on asks for one for every call still ahead, and turning it off takes the Meet off each of their events; a call already over keeps the Meet it had. An event Sherpo made private stays private after its link is gone.

## One link for every booking

`{ "kind": "link", "url": "https://..." }` gives every booking the same link. It must be an `https` address with no user name or password in it, at most 2,000 characters; anything else answers `invalid` at `settings.calendar.meeting.url`:

```bash
curl -X PATCH 'https://api.sherpo.io/merchant/v1/stores/STORE_ID/products/2c7e9a4b-5d1f-4b8a-9e3c-6a0d2f4b8c1e' \
  -H "Authorization: Bearer $SHERPO_TOKEN" \
  -H 'Idempotency-Key: link-intro-call' \
  -H 'Content-Type: application/json' \
  -d '{
  "settings": {
    "calendar": {
      "meeting": {
        "kind": "link",
        "url": "https://zoom.us/j/5551234567"
      }
    }
  }
}'
```

```js
const answer = await sherpo('PATCH', '/v1/stores/STORE_ID/products/2c7e9a4b-5d1f-4b8a-9e3c-6a0d2f4b8c1e', {
  body: {
    "settings": {
      "calendar": {
        "meeting": {
          "kind": "link",
          "url": "https://zoom.us/j/5551234567"
        }
      }
    }
  },
  key: 'link-intro-call',
});
```

Answers `200`, abridged:

```json
{
  "id": "2c7e9a4b-5d1f-4b8a-9e3c-6a0d2f4b8c1e",
  "category": "calendar",
  "settings": {
    "calendar": {
      "meeting": {
        "kind": "link",
        "url": "https://zoom.us/j/5551234567"
      }
    }
  }
}
```

Every booking reads the link as the call holds it, so changing it reaches upcoming bookings too. When the call writes its bookings into a Google Calendar, the link is also where each booking's event takes place, and a change reaches the events of every call still ahead. Anyone who booked the call once still knows it, so use a room that asks the host to admit people, or change the link when you need to keep past customers out.

## Who sees it

A booking answers its link as `meeting`, with its `kind`, its `url` and a `status`: `ready`, `pending` while Google makes its Meet, or `unavailable` when it went without one (a `null` `url` either way). A canceled call answers `null`, and so does one whose product sets no meeting and whose event holds no Meet. A deleted product's calls stay booked, so they keep answering theirs. It's shown to the customer who booked, through their [booking reads](/customer-api/calls), and to your team, through <a href="/merchant-api/reference/get-call-booking/">`GET /call_bookings/{booking}`</a> and the product's bookings. Customers browsing the product never read it. A patch replaces `meeting` whole, so switching kinds never keeps the other's keys, and `"meeting": null` removes it. Any other category than a calendar product answers `invalid` at `settings.calendar.meeting`.

Source: https://docs.sherpo.io/merchant-api/guides/meeting-links/index.mdx
