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 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.
npm install @zoplio/sdk-js # TypeScript / Node pip install zoplio # Python
TypeScript
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
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
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
{
"meetingId": "mtg_7xKp2vN",
"negotiationId": "neg_3aB9kQ",
"status": "negotiating",
"proposedSlots": 3
}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.
/v1/meetingsSchedule a meeting. Zoplio reaches each participant, negotiates, and books.
/v1/meetings/:idFetch one meeting with per-participant status.
/v1/meetingsList meetings you organize, newest first, ?status=&limit=.
/v1/meetings/:id/cancelCancel a meeting. Idempotent, cancelling twice still returns cancelled.
/v1/meetings/:id/reschedulePropose a new exact date + time to every participant.
/v1/webhooksSubscribe a URL to meeting lifecycle events.
/v1/webhooksList your webhook subscriptions (without secrets).
/v1/webhooks/:idDelete a webhook subscription.
Webhooks
Subscribe a URL and Zoplio POSTs a signed JSON event on meeting.created, meeting.confirmed, meeting.cancelled and negotiation.failed.
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" }'{
"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.
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!,
);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": {
"code": "validation_failed",
"message": "participants must not be empty",
"details": [
{ "field": "participants", "message": "required" }
]
}
}| Code | HTTP | When |
|---|---|---|
unauthorized | 401 | Missing, malformed, or revoked API key. |
validation_failed | 400 | Bad request body, see error.details[]. |
quota_exceeded | 402 | Free-tier confirmed/create cap reached. |
not_found | 404 | No such meeting or webhook. |
conflict | 409 | Reschedule collides, or the negotiation state won't allow it. |
rate_limited | 429 | Too many requests, back off and retry. |
upstream_error | 502 | A 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