Screen Chirp API Docs
Back to App Get API Key

Screen Chirp Developer Platform

Integrate screen sharing and persistent Chirp chat channels into your applications today (video coming at launch).

Base URL & API Architecture

The Screen Chirp REST API is organized around RESTful principles, JSON payloads, predictable resource URIs, and HTTP response codes.

PRODUCTION API BASE URL
https://screenchirp.com/api/v1
CORS & Allowed Origins: When creating an API key, you can optionally define comma-separated allowed origins (e.g. https://myapp.com, https://admin.myapp.com). The API automatically responds with Smart CORS headers tailored to your domains.

Authentication

Authenticate your requests by including your secret API key in the standard Authorization HTTP header with the Bearer scheme.

HEADER FORMAT
Authorization: Bearer {8_char_prefix}_{secret}
curl -X GET "https://screenchirp.com/api/v1/ping" \
  -H "Authorization: Bearer a1b2c3d4_8f1e2d3c4b5a6789..." \
  -H "Content-Type: application/json"

Cost Translation & Resale Engine

When embedding Screen Chirp in software you sell to end-users or clients, you need to track exactly how much each meeting or recording costs so you can bill them or maintain a profit margin. Screen Chirp provides built-in Cost Translation on both REST APIs and Webhooks.

How to pass costs to your clients: Each billable event (like meeting.ended or recording.ready) includes an itemized cost or cost_estimate breakdown and a suggested_resale calculation with standard 30% margin. Resale pricing and client billing remain the customer's responsibility.
GET /api/v1/meetings/{uuid}/cost
Cost Breakdown per Meeting
Retrieves the complete, itemized cost statement for any completed or ongoing meeting.
SAMPLE RESPONSE (JSON)
{
  "data": {
    "currency": "USD",
    "total_cost": 1.5100,
    "formatted_total": "$1.5100",
    "summary": {
      "meeting_uuid": "7fa9c18e4b2d41b084931a...",
      "meeting_title": "Client Consultation",
      "meeting_duration_minutes": 25,
      "participant_count": 3,
      "participant_minutes": 65,
      "telephony_minutes": 0,
      "recording_minutes": 25,
      "recording_participant_minutes": 75
    },
    "breakdown": {
      "participant_video": { "units": 65, "rate": 0.0040, "subtotal": 0.2600 },
      "recording":         { "units": 75, "unit": "participant_minutes", "rate": 0.0100, "subtotal": 0.7500 },
      "transcription":     { "units": 25, "unit": "minutes", "rate": 0.0200, "subtotal": 0.5000 }
    },
    "suggested_resale": {
      "markup_percent": 30,
      "suggested_price": 1.9630,
      "formatted_resale_price": "$1.96"
    }
  }
}

Meetings Management API

GET /api/v1/meetings
List Meetings
Returns a paginated list of meetings created by your account, including room URLs, active participant counts, and scheduling status.
Query ParameterTypeDescription
status string Optional filter: scheduled, active, ended, or cancelled
limit integer Maximum results per page (1–100, default: 25)
offset integer Pagination offset (default: 0)
POST /api/v1/meetings
Create a Meeting
Creates a new instant or scheduled meeting room with fine-grained security, waiting room, and permission controls.
ParameterTypeDescription
title string Meeting title or subject (default: "API Meeting")
scheduled_start_at string (ISO 8601) Optional scheduled start time (e.g. 2026-09-25T14:00:00Z)
is_permanent boolean Set to true for reusable personal meeting rooms
waiting_room_enabled boolean Requires host to admit guests before they enter the call (default: false)
recording_enabled boolean Enables cloud video recording for this room
allow_guests boolean Allow anonymous external guests to enter (default: true)
passcode string Optional room entry passcode
REQUEST BODY (JSON)
{
  "title": "Q4 Strategic Planning",
  "scheduled_start_at": "2026-09-25T18:00:00Z",
  "waiting_room_enabled": true,
  "recording_enabled": true,
  "allow_screen_share": true
}
GET /api/v1/meetings/{uuid}
Get Meeting Details
Retrieves configuration, active participant count, and join/host/embed URLs for a specific meeting by its UUID.
PATCH /api/v1/meetings/{uuid}
Update Meeting Settings
Updates mutable room settings such as title, scheduled_start_at, waiting_room_enabled, recording_enabled, allow_guests, allow_screen_share, allow_chat, mute_on_entry, max_participants, or passcode.
POST /api/v1/meetings/{uuid}/end
Force End Meeting
Immediately terminates an active meeting, disconnects connected participants, and returns the finalized cost breakdown.
POST /api/v1/meetings/{uuid}/embed-tokens
Generate Embed Token
Generates a secure, single-use token to embed this meeting room inside an iframe or SDK widget without exposing master API keys.
ParameterTypeDescription
user_name required string Display name of the participant joining the call
user_email string Optional email to associate participant with an existing user
role string guest (default), user (team member), or host (admin)
expires_in integer Validity duration in seconds (default: 300)

Participants & Waiting Room API

GET /api/v1/meetings/{uuid}/participants
List Participants & Waiting Room
Returns active and historical participants (`participants`), waiting room queue entries (`waiting_room`), and current `active_count` for the specified meeting.
POST /api/v1/meetings/{uuid}/participants/{id}/admit
Admit from Waiting Room
Marks a waiting room entry (`{id}`) as admitted so the guest can enter the live room.
POST /api/v1/meetings/{uuid}/participants/{id}/kick
Kick / Remove Participant
Disconnects participant `{id}` from the active meeting and records their departure timestamp.

Meeting Chat (Chirps) API

GET /api/v1/meetings/{uuid}/chirps
Fetch Chat History
Retrieves persistent in-meeting Chirp messages for `{uuid}`. Supports optional `limit` (1–500, default 100) and `since_id` query parameters.
POST /api/v1/meetings/{uuid}/chirps
Send Chat Message
Posts a message to the meeting's Chirp stream (`message` required, optional `sender_name`) and dispatches a `chirp.created` webhook event.

Recordings & Transcripts API

GET /api/v1/recordings
List Recordings
Lists cloud recordings for your account (optional `meeting_uuid` filter and `limit`), including duration, participant count, and itemized recording cost.
GET /api/v1/recordings/{id}/transcript
Get AI Transcript
Retrieves the Whisper AI transcription status, text transcript, duration, and transcription cost breakdown for recording `{id}`.

Usage, Costs & Metering API

GET /api/v1/costs/usage
Account Usage & Billing
Returns aggregate account usage, itemized cost totals, and suggested resale totals across a date range (`start_date` and `end_date` in `YYYY-MM-DD` format).
GET /api/v1/costs/rates
Platform Rate Sheet
Returns the current per-minute USD rates for participant video, telephony, cloud recording, and AI Whisper transcription.

Webhooks System & Signatures

Subscribe to real-time events on your server whenever meetings start, participants join, recordings complete, or transcripts are generated. Each event is cryptographically signed using HMAC-SHA256.

WEBHOOK EVENT HEADERS
X-Screenchirp-Signature: sha256=d3b07384d113edec49eaa6238ad5ff00...
X-Screenchirp-Event: meeting.ended
X-Screenchirp-Delivery-Id: sc_del_4a8b9c...
X-Screenchirp-Timestamp: 1790278400
X-Screenchirp-Version: 2026-09-01
Available Event Types
EventDescriptionCost Translation
meeting.createdFired when a meeting is booked—
meeting.startedFired when first participant enters call—
meeting.endedFired when call ends or host ends meetingYes (Itemized Cost Breakdown)
participant.joinedParticipant connected to video room—
participant.leftParticipant disconnected from callAttendance Duration
recording.readyCloud video recording finished compositionYes (Recording Cost Included)
transcription.readyAI Whisper transcript readyYes (Transcription Cost Included)
chirp.createdMeeting chat message posted—
GET /api/v1/webhooks
List Webhooks
Lists all registered webhook endpoints on your account along with subscribed events and delivery statistics.
POST /api/v1/webhooks
Register Webhook
Registers a new HTTPS webhook receiver (`url`, optional `description`, and `events` array) and returns the HMAC `signing_secret`.
POST /api/v1/webhooks/{id}/test
Ping / Test Webhook
Sends a signed `webhook.test` ping payload to webhook `{id}` and returns the HTTP response status and latency.
VERIFYING WEBHOOK SIGNATURE (NODE.JS EXAMPLE)
const crypto = require('crypto');

function verifyScreenChirpWebhook(rawBody, signatureHeader, secret) {
    const expectedSignature = 'sha256=' + crypto
        .createHmac('sha256', secret)
        .update(rawBody)
        .digest('hex');

    return crypto.timingSafeEqual(
        Buffer.from(signatureHeader),
        Buffer.from(expectedSignature)
    );
}

SDKs & Embed Components

Drop meetings into your application in seconds using our modern embed component (video coming at launch).

HTML5 WEB COMPONENT (<screenchirp-meeting>)
<!-- 1. Include Script -->
<script src="https://screenchirp.com/assets/sdk/screenchirp-element.js"></script>

<!-- 2. Embed Anywhere in React, Vue, WordPress, or Plain HTML -->
<screenchirp-meeting
    meeting-id="ROOM_UUID"
    token="sc_emb_TOKEN_FROM_BACKEND"
    layout="inline"
    style="width: 100%; height: 600px; display: block;">
</screenchirp-meeting>
JavaScript Embed SDK (window.ScreenChirp)
Programmatic browser SDK for mounting inline or floating resizable rooms and listening to real-time room events (`loaded`, `participant_joined`, `chirp_received`, `cost_updated`, `ended`).
JAVASCRIPT SDK USAGE
<script src="https://screenchirp.com/assets/sdk/screenchirp-sdk.js"></script>
<script>
  const room = new ScreenChirp({
    meetingId: 'ROOM_UUID',
    token: 'sc_emb_TOKEN_FROM_BACKEND',
    container: '#meeting-container',
    layout: 'inline'
  });
  room.on('participant_joined', (p) => console.log('Joined:', p));
  room.join();
</script>
Drop-In Backend SDK Libraries: Official client wrappers are located in the repository under sdk/php/ScreenChirpClient.php, sdk/node/index.js, and sdk/python/screenchirp.py with zero external dependencies.