API Reference

Book meetings with one call

The Zoplio REST API lives at https://api.zoplio.com. Every response is JSON. You get a meeting ID back instantly; the agent handles negotiation, reminders, and calendar invites from there.

Authentication

Authenticate every request with your secret key in an Authorization header. Keys start with zpl_. Create and revoke them in your dashboard. Never ship a key to the browser.

curl
curl https://api.zoplio.com/v1/meetings \
  -H "Authorization: Bearer zpl_your_key_here"

Quickstart

Install a typed SDK, or call the REST endpoint directly. Only participants is required; everything else is optional.

shell
npm install @zoplio/sdk-js     # TypeScript / Node
pip install zoplio             # Python

TypeScript

schedule.ts
import { ZoplioClient } from "@zoplio/sdk-js";

const zoplio = new ZoplioClient({ apiKey: process.env.ZOPLIO_API_KEY! });

const { meetingId } = await zoplio.scheduleMeeting({
  title: "Q3 planning review",
  participants: [{ email: "[email protected]" }],
});

Python

schedule.py
import os
from zoplio import ZoplioClient

zoplio = ZoplioClient(api_key=os.environ["ZOPLIO_API_KEY"])

meeting = zoplio.schedule_meeting(
    title="Q3 planning review",
    participants=[{"email": "[email protected]"}],
)
print(meeting["meetingId"], meeting["status"])

cURL

shell
curl -X POST https://api.zoplio.com/v1/meetings \
  -H "Authorization: Bearer zpl_..." \
  -H "Content-Type: application/json" \
  -d '{
    "title": "Q3 planning review",
    "participants": [{ "email": "[email protected]" }]
  }'

Response

201 Created
{
  "meetingId": "mtg_7xKp2vN",
  "negotiationId": "neg_3aB9kQ",
  "status": "negotiating",
  "proposedSlots": 3
}
Idempotency. Send an X-Idempotency-Key header on create. Replaying the same key returns the original meeting instead of booking a duplicate. Retries are always safe.

Meetings

A meeting moves through negotiating → confirmed (or cancelled). You only pay when it confirms.

POST/v1/meetings

Schedule a meeting. Zoplio reaches each participant, negotiates, and books.

GET/v1/meetings/:id

Fetch one meeting with per-participant status.

GET/v1/meetings

List meetings you organize, newest first, ?status=&limit=.

POST/v1/meetings/:id/cancel

Cancel a meeting. Idempotent, cancelling twice still returns cancelled.

POST/v1/meetings/:id/reschedule

Propose a new exact date + time to every participant.

POST/v1/webhooks

Subscribe a URL to meeting lifecycle events.

GET/v1/webhooks

List your webhook subscriptions (without secrets).

DELETE/v1/webhooks/:id

Delete a webhook subscription.

Webhooks

Subscribe a URL and Zoplio POSTs a signed JSON event on meeting.created, meeting.confirmed, meeting.cancelled and negotiation.failed.

subscribe
curl -X POST https://api.zoplio.com/v1/webhooks \
  -H "Authorization: Bearer zpl_..." \
  -H "Content-Type: application/json" \
  -d '{ "url": "https://yourapp.com/hooks/zoplio" }'
response, secret shown once
{
  "id": "whk_1a2b",
  "url": "https://yourapp.com/hooks/zoplio",
  "events": [
    "meeting.created", "meeting.confirmed",
    "meeting.cancelled", "negotiation.failed"
  ],
  "secret": "whsec_shown_once_store_it"
}

Verify each delivery: the X-Zoplio-Signature header is HMAC-SHA256(secret, rawBody) hex-encoded. The SDKs do the constant-time compare for you.

verify.ts
import { ZoplioClient } from "@zoplio/sdk-js";

// Pass the RAW request body (before JSON.parse).
const ok = ZoplioClient.verifyWebhookSignature(
  rawBody,
  req.headers["x-zoplio-signature"] as string,
  process.env.ZOPLIO_WEBHOOK_SECRET!,
);
verify.py
from zoplio import ZoplioClient

ok = ZoplioClient.verify_webhook_signature(
    raw_body,  # raw bytes, before json parsing
    request.headers["X-Zoplio-Signature"],
    webhook_secret,
)

Errors

Every non-2xx response carries the same envelope. The SDKs raise it as a typed error (ZoplioApiError / ZoplioError) with code and status.

error envelope
{
  "error": {
    "code": "validation_failed",
    "message": "participants must not be empty",
    "details": [
      { "field": "participants", "message": "required" }
    ]
  }
}
CodeHTTPWhen
unauthorized401Missing, malformed, or revoked API key.
validation_failed400Bad request body, see error.details[].
quota_exceeded402Free-tier confirmed/create cap reached.
not_found404No such meeting or webhook.
conflict409Reschedule collides, or the negotiation state won't allow it.
rate_limited429Too many requests, back off and retry.
upstream_error502A Zoplio service hiccup, safe to retry.

Rate limits & quota

The free tier includes 3 confirmed meetings per calendar month. Reach it and create calls return 402 quota_exceeded. Existing meetings keep running. Need more? See pricing or talk to us.

MCP

Prefer to let an AI agent drive? Zoplio hosts a Model Context Protocol server at https://api.zoplio.com/mcp. Point Claude, or any MCP client, at it with your zpl_ key. See the setup snippets.

Ready to build?

Zoplio is not open to everyone yet. Join the waitlist and we will write to you the moment your key is ready.

Join the waitlist