? Developers Quickstart — TeamSchedulerPro
TeamSchedulerPro

Developers Quickstart

Read availability and bookings, create, reschedule or cancel bookings over REST, get real-time webhooks — or hand your whole schedule to an AI assistant with our MCP server (step 4, no code). This walks you from zero to a verified webhook in about 10 minutes. Full reference: API & Webhooks docs.

1

Create an API key

In the admin dashboard, open the Developers panel and click New API Key. Give it a name (e.g. "Production"). The full key — it looks like tsp_… — is shown once. Copy it now and store it somewhere safe like a password manager or your server's secrets.

If you lose a key you can't view it again — just revoke it and create a new one. Keys are scoped to your account, so they only ever touch your own meeting types and bookings.
2

Make your first call

Send the key as a Bearer token on every request. List your meeting types to confirm it works:

curl (macOS / Linux / Git Bash)

curl https://www.teamschedulerpro.com/api/v1/meeting-types \
  -H "Authorization: Bearer tsp_your_key_here"

PowerShell (Windows)

$headers = @{ Authorization = "Bearer tsp_your_key_here" }
Invoke-RestMethod https://www.teamschedulerpro.com/api/v1/meeting-types -Headers $headers
In PowerShell, use Invoke-RestMethod rather than the curl alias — and pass the real key, not the literal word tsp_your_key_here. A {"error":"Invalid token"} response almost always means a placeholder or a typo'd key.
3

Read availability, then book

Grab open slots for a meeting type, then create a booking. (Replace 15 with one of your meeting type IDs from step 2.)

Get availability

curl "https://www.teamschedulerpro.com/api/v1/meeting-types/15/availability?date=2026-06-10&timezone=America/New_York" \
  -H "Authorization: Bearer tsp_your_key_here"

Create a booking (no CAPTCHA needed with a key)

curl -X POST https://www.teamschedulerpro.com/api/v1/bookings \
  -H "Authorization: Bearer tsp_your_key_here" -H "Content-Type: application/json" \
  -d '{
    "meetingTypeId": 15,
    "clientName": "Jane Doe",
    "clientEmail": "jane@example.com",
    "date": "2026-06-10",
    "time": "14:00",
    "timezone": "America/New_York"
  }'

The booking is created, the right team member's calendar gets the event, and confirmation emails go out — same as a booking made through the web page. A time that isn't genuinely free comes back as a 409 rather than a double booking.

Move it later (keeps the invitee, their notes and their answers)

curl -X POST https://www.teamschedulerpro.com/api/v1/bookings/42/reschedule \
  -H "Authorization: Bearer tsp_your_key_here" -H "Content-Type: application/json" \
  -d '{ "date": "2026-06-11", "time": "15:30" }'

A reschedule replaces the booking, so the response carries the new id alongside previousId. If the new slot can't be booked you get a 409 and the original is left exactly as it was.

4

Or skip the code: point an AI assistant at your calendar

If what you actually want is "what's on my schedule Thursday, move the 2pm to 2:30, cancel the 4pm", you don't need to write any of the above. We ship a small MCP server — one file, no dependencies — that gives Claude Desktop, Claude Code or any MCP client read and write access to your schedule using the same API key. It can only ever touch your own account. Needs Node 18+.

Download it (one file — check it over before you run it, it's short)

Download teamschedulerpro-server.js   or read the source first — that link is the raw file, so it will look like code.

Or from a terminal

curl -O https://www.teamschedulerpro.com/mcp/teamschedulerpro-server.js

Claude Desktop — Settings → Developer → Edit Config

{
  "mcpServers": {
    "teamschedulerpro": {
      "command": "node",
      "args": ["C:\\Users\\you\\teamschedulerpro\\teamschedulerpro-server.js"],
      "env": {
        "TSP_API_KEY": "tsp_your_key_here",
        "TSP_TIMEZONE": "America/New_York"
      }
    }
  }
}

Claude Code

claude mcp add teamschedulerpro \
  --env TSP_API_KEY=tsp_your_key_here \
  --env TSP_TIMEZONE=America/New_York \
  -- node /absolute/path/to/teamschedulerpro-server.js

Six tools show up: list_meeting_types, check_availability, list_bookings, create_booking, reschedule_booking and cancel_booking.

Set TSP_TIMEZONE. Every time the assistant sees or sends is wall clock in that one zone — availability slots come back with the exact date, time and timezone to book, and your bookings are converted out of each invitee's timezone into yours. It defaults to the clock on the machine running the server, which is usually right and worth being explicit about anyway.
create_booking, reschedule_booking and cancel_booking act immediately on real calendars and email real people, and a cancellation can't be undone. Set TSP_READ_ONLY=1 and the assistant can read your schedule but not change it.
5

Add a webhook

Back in the Developers panel, under Webhooks, add the HTTPS URL on your server that should receive events and choose which to subscribe to:

  • booking.created — a new booking was made
  • booking.cancelled — a booking was cancelled

We POST a JSON body to your URL when those happen. Hit Send test to fire a sample delivery, then check the delivery log right there in the panel to see the response we got back.

No server to write? You can pipe these events into 5,000+ apps with no code via Zapier — see the Connect to Zapier how-to.
Your endpoint must be https and publicly reachable — we block localhost and private/internal addresses. Testing locally? Use a tunnel like ngrok or Cloudflare Tunnel to get a public HTTPS URL.
6

Verify the signature

Every delivery carries X-TSP-Signature: sha256=<hmac> — an HMAC-SHA256 of the raw request body, keyed with your webhook's signing secret (shown in the panel). Always verify it before trusting a payload:

const crypto = require('crypto');

// IMPORTANT: use the raw, unparsed body — e.g. express.raw({ type: 'application/json' })
const expected = 'sha256=' + crypto
  .createHmac('sha256', WEBHOOK_SECRET)
  .update(rawBody)
  .digest('hex');

if (expected !== req.headers['x-tsp-signature']) {
  return res.sendStatus(401);
}
res.sendStatus(200); // any 2xx acknowledges

Respond with any 2xx to acknowledge. Non-2xx responses or timeouts are retried up to 3 times with backoff, and every attempt shows in the delivery log.

Good to know: the API is rate-limited to 120 requests/minute per key. Need more, or an event we don't emit yet? Email support@teamschedulerpro.com.

Open the full API reference →