---
title: "Scheduler Provision"
method: POST
path: "/api/app-auto-gtm/scheduler/provision"
tags: ["CalBridgeExperiment"]
---

# Scheduler Provision

`POST /api/app-auto-gtm/scheduler/provision`

Mint a single-use magic-link the frontend can ``window.open()``.

Returns 503 ``scheduler_unavailable`` in dev (settings empty) so the
client falls back to the bare cal.com login page without waiting on
a DB timeout. See EXPERIMENT.md §3.

## Cookies

- `ex_access` string, nullable
- `ex_org` string, nullable

## Request body

- SchedulerProvisionRequest
  - `destination` 'default' | 'availability' | 'google_calendar' | 'calendar_management'

## Response `200`

Successful Response

- SchedulerProvisionResponse
  - `url` string, required
  - `schedule_id` integer, required
  - `booking_url` string, required

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/explee/apis/explee-api.md) · [All operations](https://skmtc.dev/explee/apis/explee-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/explee/explee-api/revisions/f169bc6e9447/schema)
