Docs
Quickstart
From API key to attendance report in five steps. Every example is a curl call to https://api.webinarclose.com.
1. Get an API key
Pick a plan on the pricing page and pay through Stripe Checkout. Right after checkout you land on a page that shows your API key once, in the api_key field. It starts with wc_live_.
Save it in your password manager straight away. Only a hash of the key is stored, so nobody can show it to you again. If the page says not_ready, the payment is still being processed: reload it after a few seconds. The page works once, within 7 days.
# paste your key, press Enter (kept out of shell history)
read -rs WC_KEY && export WC_KEY
Every call below sends the key as Authorization: Bearer $WC_KEY. Changed your mind? Within 14 days, POST /v1/billing/refund refunds your payment, cancels the subscription and revokes your keys.
2. Create a webinar
curl -s -X POST https://api.webinarclose.com/v1/webinars \
-H "Authorization: Bearer $WC_KEY" \
-H "Content-Type: application/json" \
-d '{"title":"Close more deals","starts_at":"2026-12-10T15:00:00Z","duration_min":60,"max_viewers":30}'
| Field | What it means |
|---|---|
title | 1 to 200 characters. |
starts_at | ISO 8601 with a time zone offset, for example 2026-12-10T16:00:00+01:00. |
duration_min | 1 to 1440 minutes. |
max_viewers | How many viewers can be connected at the same time. |
slug (optional) | The address of the hosted page, /w/{slug}. Without it, the title plus a short random suffix is used. |
page (optional) | Language, texts, colours and more for the hosted page. See Page. |
The answer is the new webinar, with "status": "scheduled":
{
"id": "6f1c2a9e-...",
"title": "Close more deals",
"slug": "close-more-deals-3f9a1c",
"status": "scheduled",
"starts_at": "2026-12-10T15:00:00.000Z",
"duration_min": 60,
"max_viewers": 30,
...
}
export WC_WEBINAR=6f1c2a9e-... # the id from the answer
Every request body is strict. A misspelled field is refused with a 400 that names it, so nothing is silently ignored.
3. Share the page
Every webinar has a registration page at https://api.webinarclose.com/. People sign up there and land on their personal link. They also get a confirmation mail and reminders 24 hours and 1 hour before the start, and when it starts.
Give the page your own look and text with one call. Fields merge; null removes one:
curl -s -X PATCH https://api.webinarclose.com/v1/webinars/$WC_WEBINAR/page \
-H "Authorization: Bearer $WC_KEY" \
-H "Content-Type: application/json" \
-d '{"subtitle":"A 45-minute live session for founders.","brand_color":"#1f6feb","language":"en","timezone":"Europe/Amsterdam"}'
The answer includes page_url, the link to share.
Already have your attendees? Register them yourself. The answer holds a personal join_url for that person. Registering the same email again returns the same registration.
curl -s -X POST https://api.webinarclose.com/v1/webinars/$WC_WEBINAR/registrations \
-H "Authorization: Bearer $WC_KEY" \
-H "Content-Type: application/json" \
-d '{"email":"ann@example.com","name":"Ann"}'
Prefer a form on your own site? See the embed guide.
4. Go live
As the host, ask for a host token:
curl -s -X POST https://api.webinarclose.com/v1/webinars/$WC_WEBINAR/join \
-H "Authorization: Bearer $WC_KEY" \
-H "Content-Type: application/json" \
-d '{"role":"host","name":"Ann"}'
The answer has a livekit_url and a token, valid for 6 hours. With them you can send camera and microphone into the webinar's room. Video runs on LiveKit.
There is no presenter studio yet. To broadcast today, connect with a LiveKit client:
- Open api.webinarclose.com/join.html, paste the
livekit_urland thetoken, and press Connect. It turns on your camera and microphone. It is a plain test page, not a polished studio. - Or use any LiveKit client SDK in your own app with the same URL and token.
When the host connects, the webinar becomes live. Viewers who open their personal link now see the player. The video starts muted, because browsers block sound until you tap, with a "Tap to unmute" button. A waiting room refreshes by itself in the last 15 minutes before the start; one that was opened earlier needs a reload.
When max_viewers viewers are connected, the next viewer sees a "full" page. A viewer who was already inside can always rejoin.
If everyone leaves the room, LiveKit closes it after a while and the webinar is marked ended for good. On the hosted service that wait is 5 minutes, so a host who reloads or loses the connection can rejoin in time.
5. End it and read the report
curl -s -X POST https://api.webinarclose.com/v1/webinars/$WC_WEBINAR/end \
-H "Authorization: Bearer $WC_KEY"
curl -s https://api.webinarclose.com/v1/webinars/$WC_WEBINAR/report \
-H "Authorization: Bearer $WC_KEY"
Ending disconnects everyone and closes the room. The report lists every registration with the time they watched:
{
"webinar_id": "6f1c2a9e-...",
"registered": 2,
"attended": 1,
"attendees": [
{
"registration_id": "0b7d...",
"email": "ann@example.com",
"name": "Ann",
"seconds_watched": 2710,
"sessions": 2,
"first_join": "2026-12-10T15:01:12.000Z",
"last_leave": "2026-12-10T15:58:40.000Z"
},
...
]
}
seconds_watched adds up all sessions of one person; a session that is still open counts up to now. attended counts people with more than 0 seconds. For page views, sign-ups and button clicks per step, see the funnel endpoint.
Next
- API reference: every endpoint and field.
- MCP setup: let Claude Code, Cursor or another MCP client do these steps for you.
- Embed guide: the registration form and player on your own site.