Rondwell Event Infrastructure API & Web SDKs

Power ticketing, interactive seat-map checkout modals, collection storefronts, bulk attendee imports, signed QR door check-in, and real-time 360° analytics directly inside your own web applications.

REST API Base URL

https://api.rondwell.com/v1

Browser Web SDK CDN

https://rondwell.com/sdk/v1/rondwell.js

Wire Format & Spec

snake_case JSON · OpenAPI 3.1 (/v1/openapi.json)

Authentication, Keys & IP Whitelisting

Rondwell separates server credentials from browser SDK credentials so a single account cleanly governs every event and collection you own:

Secret Keys (`rw_live_...`)

Passed via Authorization: Bearer rw_live_... from your backend. Supports granular scopes, zero-downtime 24h key rolling, idempotency keys, and strict IPv4/IPv6 CIDR IP Whitelisting.

Publishable SDK Keys (`rw_live_pub_...`)

Safe to embed in frontend HTML/React apps. Restricted by Allowed Origins (including wildcard subdomains like https://*.yoursite.com) and read-only/SDK scopes.

Supported Scopes (21)

events:read List and inspect organizer events & public metadata
events:write Create, update, and configure events
tickets:read Read ticket tiers, prices & remaining inventory
tickets:write Create & manage ticket types
seating:read Inspect live seat capacity, holds & section stats (SSE supported)
seating:write Hold seats, release holds, and assign seats atomically
attendees:read List and retrieve attendee registrations
attendees:write Create, update, or cancel individual attendees
attendees:import Bulk CSV/JSON attendee import up to 1,000 rows per batch
credentials:read Retrieve signed QR check-in payload & door passcode
checkins:read Preview eligibility via QR/passcode & list checked-in attendees
checkins:write Record atomic idempotent attendee check-in (exempt from monthly quota)
analytics:read Read 360° comprehensive, attendance/no-show & seating analytics
analytics:export Export comprehensive event analytics as CSV or JSON
collections:read Read collections and collection event feeds
embed:write Customize embedConfig and mint signed embed sessions
webhooks:read List webhook endpoints & delivery history
webhooks:write Create, update, test, and replay webhook deliveries
organizations:read Read organization profile details
sdk:events Publishable key permission for Event Page Web SDK
sdk:collections Publishable key permission for Collection Web SDK

Event Page Web SDK (Modal Checkout, Seat Picker & Redirect)

Configure colors per Event →

Launch a branded Rondwell registration modal right over your own website when visitors click a button. Supports ticket tier selection, interactive 2D/3D seat picking, coupons, Paystack/Stripe settlement, onSuccess callbacks, and post-registration redirectUrl persistence.

1. Declarative HTML Button

<button
  data-rondwell-event="your-event-slug"
  data-rondwell-pk="rw_live_pub_your_sdk_key"
  data-rondwell-theme="light"
  data-rondwell-primary="#7C3AED"
  data-rondwell-radius="12"
  data-rondwell-redirect="https://yoursite.com/thank-you"
>
  Register for Event
</button>
<script src="https://rondwell.com/sdk/v1/rondwell.js" async></script>

2. Imperative JavaScript / TypeScript SDK

import Rondwell from '@rondwell/web-sdk';

Rondwell.init({ publishableKey: 'rw_live_pub_your_sdk_key', primaryColor: '#7C3AED' });

document.getElementById('buy-btn').addEventListener('click', () => {
  Rondwell.openEventModal('your-event-slug', {
    theme: 'light',
    showSeatMap: true,
    redirectUrl: 'https://yoursite.com/confirmed',
    onSeatSelected: ({ seatNumber }) => console.log('Seat chosen:', seatNumber),
    onSuccess: (reg) => {
      // Persist reg.registrationId, reg.seatId, reg.email to your database
      console.log('Completed registration:', reg);
    },
  });
});

Live Web SDK Interactive Playground

Preview theme colors, border radius, and modal checkout live.

#7C3AED
12px

Enter any public Event ID/slug or Collection slug above to preview live.

Automatically pull all events in a Rondwell Collection with tag filters, search, and custom Grid/List/Cards layouts. Clicking Register on any event inside the widget seamlessly opens the Event Page SDK Modal on your site.

Embed Collection Feed

<div
  id="my-collection-events"
  data-rondwell-collection="lagos-tech-week"
  data-rondwell-pk="rw_live_pub_your_sdk_key"
  data-rondwell-layout="grid"
  data-rondwell-open-mode="modal"
  data-rondwell-primary="#7C3AED"
  data-rondwell-redirect="https://yoursite.com/registered"
></div>
<script src="https://rondwell.com/sdk/v1/rondwell.js" async></script>

REST API Endpoints

GET /v1/events/{eventId}/analytics/comprehensive Scope: analytics:read

360° Comprehensive Event Analytics

Returns full platform-wide metrics in a single call: registrations, check-ins, no-show counts & rates, ticket sell-through, gross/net revenue, coupons, refunds, seat capacity per section, waitlist, blasts/emails, vendors/speakers/promoters, budget variance, and Web SDK conversion funnel.

eventId* path · string

Event ObjectId

Request (curl)

curl -X GET "https://api.rondwell.com/v1/events/EVENT_ID/analytics/comprehensive" \
  -H "Authorization: Bearer rw_live_your_secret_key"

Sample Response

{
  "data": {
    "event_id": "6745abc123def45678901234",
    "registrations": {
      "total": 420,
      "attending": 112,
      "checked_in": 298,
      "no_show_count": 112,
      "no_show_rate": 27.3,
      "check_in_rate": 72.7
    },
    "tickets": {
      "total_sold": 410,
      "total_capacity": 500,
      "sell_through_rate": 82,
      "gross_revenue": 6150000,
      "net_revenue": 5842500,
      "currency": "NGN"
    },
    "seating": {
      "enabled": true,
      "total_seats": 500,
      "assigned_seats": 380,
      "held_seats": 14,
      "available_seats": 106,
      "fill_rate": 76
    },
    "sdk_embed": {
      "views": 1940,
      "modal_opens": 610,
      "registrations_completed": 148,
      "conversion_rate": 24.3
    }
  }
}
GET /v1/events/{eventId}/seating/capacity Scope: seating:read or sdk:events

Real-Time Seat Capacity & Section Fill Rates

Returns live seat counts across available, held (unexpired checkout locks), occupied, and blocked seats plus a per-section breakdown. Pair with GET /seating/stream for Server-Sent Events.

eventId* path · string

Event ObjectId

Request (curl)

curl -X GET "https://api.rondwell.com/v1/events/EVENT_ID/seating/capacity" \
  -H "Authorization: Bearer rw_live_your_secret_key"

Sample Response

{
  "data": {
    "event_id": "6745abc123def45678901234",
    "total_seats": 500,
    "available_seats": 120,
    "held_seats": 12,
    "occupied_seats": 360,
    "blocked_seats": 8,
    "fill_rate_pct": 73.2,
    "sections": [
      {
        "section": "VIP Front",
        "total": 100,
        "available": 8,
        "held": 2,
        "occupied": 90,
        "blocked": 0,
        "fill_rate_pct": 90
      }
    ]
  }
}
POST /v1/events/{eventId}/seating/holds Scope: seating:write

Hold Seats Atomically

Atomically locks up to 10 seats for a checkout window (default 10 minutes). Returns hold_tokens required at assignment.

seat_ids* body · string[]

1 to 10 seatIds

hold_seconds body · integer

Hold duration in seconds (60-1800)

Request (curl)

curl -X POST "https://api.rondwell.com/v1/events/EVENT_ID/seating/holds" \
  -H "Authorization: Bearer rw_live_your_secret_key" \
  -H "Idempotency-Key: idem-hold-123" \
  -H "Content-Type: application/json" \
  -d '{"seat_ids":["seat_vip_a1"],"hold_seconds":600}'

Sample Response

{
  "data": {
    "holds": [
      {
        "seat_id": "seat_vip_a1",
        "seat_number": "VIP-A1",
        "hold_token": "ht_99a1"
      }
    ],
    "expires_at": "2026-11-28T12:10:00.000Z"
  }
}
POST /v1/events/{eventId}/attendees/import Scope: attendees:import

Bulk Import Attendees (JSON or CSV)

Imports up to 1,000 external attendees in a single idempotent request and triggers attendee.imported webhooks.

attendees body · array

Array of { email, first_name, last_name, ticket_type_id }

csv body · string

Alternative raw CSV string with email header

Request (curl)

curl -X POST "https://api.rondwell.com/v1/events/EVENT_ID/attendees/import" \
  -H "Authorization: Bearer rw_live_your_secret_key" \
  -H "Content-Type: application/json" \
  -d '{"attendees":[{"email":"ada@acme.com","first_name":"Ada","last_name":"Lovelace"}]}'

Sample Response

{
  "data": {
    "imported": 1
  }
}
POST /v1/events/{eventId}/checkins Scope: checkins:write

Record Door Check-In (Idempotent)

Atomically checks in an attendee using QR token or door passcode. Exempt from monthly API quotas; returns 409 already_checked_in on duplicate scans.

method* body · QR_CODE | PASSCODE

Credential verification mode

qr_token body · string

Required when method=QR_CODE

passcode body · string

Required when method=PASSCODE

Request (curl)

curl -X POST "https://api.rondwell.com/v1/events/EVENT_ID/checkins" \
  -H "Authorization: Bearer rw_live_your_secret_key" \
  -H "Content-Type: application/json" \
  -d '{"method":"PASSCODE","passcode":"RW-84219"}'

Sample Response

{
  "data": {
    "message": "Check-in successful",
    "attendee": {
      "attendee_status": "CHECKED_IN"
    }
  }
}
GET /v1/collections/{collectionIdOrSlug}/events Scope: collections:read or sdk:collections

List Collection Events (Collection SDK Feed)

Fetches a collection, its event tags, and all events under that collection for custom storefronts and Collection SDK widgets.

collectionIdOrSlug* path · string

Collection ID or canonical slug

Request (curl)

curl -X GET "https://api.rondwell.com/v1/collections/lagos-tech-week/events" \
  -H "X-Rondwell-Publishable-Key: rw_live_pub_your_sdk_key"

Sample Response

{
  "collection": {
    "name": "Lagos Tech Week"
  },
  "count": 4,
  "data": [
    {
      "title": "AI Founders Summit",
      "event_type": "PHYSICAL"
    }
  ]
}

Interactive API Console

Execute live /v1 requests using your Secret or Publishable key.

GET /v1/events/EVENT_ID/analytics/comprehensive

Webhooks & HMAC-SHA256 Verification

Every delivery includes Rondwell-Signature: t=<unix_ts>,v1=<hmac_hex>, SSRF protection, and automatic exponential backoff retries across 6 attempts.

import crypto from 'crypto';

export function verifyRondwellSignature(rawBody, signatureHeader, secret) {
  const parts = Object.fromEntries(signatureHeader.split(',').map((kv) => kv.trim().split('=')));
  const expected = crypto.createHmac('sha256', secret).update(`${parts.t}.${rawBody}`).digest('hex');
  return crypto.timingSafeEqual(Buffer.from(expected, 'hex'), Buffer.from(parts.v1 || '', 'hex'));
}
event.created

Triggered when an organizer creates an event via API or dashboard.

event.updated

Triggered when event metadata or embed_config changes.

attendee.registered

Triggered when an attendee registers via API or Web SDK modal.

attendee.imported

Triggered after a bulk CSV/JSON attendee import completes.

attendee.cancelled

Triggered when an attendee registration is cancelled.

ticket.purchased

Triggered after payment confirmation settles a paid ticket.

checkin.recorded

Triggered on first successful door check-in (QR or passcode).

checkin.duplicate_attempt

Triggered when a duplicate scan returns 409 already_checked_in.

seat.held

Triggered when seats are atomically held during checkout.

seat.assigned

Triggered when a seat is confirmed for a registration.

seat.released

Triggered when a seat hold is explicitly released.

webhook.test

Synthetic ping dispatched from Developer Settings or POST /v1/webhooks/:id/test.

RFC 9457 Error Reference (application/problem+json)

401 authentication_required

No Bearer secret key or publishable SDK key provided.

401 invalid_api_key

Provided key hash did not match any active credential.

401 expired_api_key

Key expiry timestamp or rolling grace period elapsed.

401 revoked_api_key

Key was explicitly revoked in Developer Settings.

403 insufficient_scope

Key lacks the required scope for this endpoint.

403 ip_not_allowed

Caller IP is outside the Secret Key CIDR whitelist.

403 origin_not_allowed

Browser Origin is not listed on the Publishable Key.

429 rate_limit_exceeded

Per-minute token limit reached; inspect Retry-After.

429 monthly_quota_exceeded

Monthly API call budget exceeded (door check-ins exempt).

409 idempotency_conflict

Idempotency-Key reused with a different request body.

400 validation_error

Schema validation failed; inspect invalid_params[].

404 resource_not_found

Requested event, collection, attendee, or webhook does not exist.

409 already_checked_in

Attendee credential was already redeemed (returns original timestamp).

400 webhook_ssrf_blocked

Webhook target resolved to loopback, RFC1918, or metadata IP.

502 upstream_unavailable

Downstream microservice timed out or restarted.