Skip to Content
Public

List an organization's upcoming events

Upcoming public live-mode events for a calendar, soonest first. Unlisted and private events are left out. An unknown slug and a sandbox organization both answer 404 `not_found`. No key needed. CORS is open to any origin. Cached at the CDN for 15 seconds (`s-maxage=15, stale-while-revalidate=60`).

GET
/v1/public/orgs/{slug}/events

Upcoming public live-mode events for a calendar, soonest first. Unlisted and private events are left out. An unknown slug and a sandbox organization both answer 404 not_found. No key needed. CORS is open to any origin. Cached at the CDN for 15 seconds (s-maxage=15, stale-while-revalidate=60).

Path Parameters

slug*string
Match^[a-z0-9]+(?:-[a-z0-9]+)*$
Length1 <= length <= 63

Query Parameters

limit?integer

Page size, 1 to 100. Defaults to 50.

Range1 <= value <= 100
cursor?string

The next_cursor from the previous page.

Length1 <= length <= 1024

Response Body

A page of events.

application/json
  1. response
data*array<>
next_cursor*string|null
Example Request
curl -X GET 'https://api.whocoming.com/v1/public/orgs/string/events'
Example Response
{  "data": [    {      "id": "string",      "mode": "live",      "title": "string",      "description": "string",      "starts_at": "2019-08-24T14:15:22Z",      "ends_at": "2019-08-24T14:15:22Z",      "timezone": "string",      "location_name": "string",      "location_address": "string",      "online_url": "string",      "price_note": "string",      "cover_image_url": "string",      "status": "draft",      "visibility": "public",      "state": "open",      "capacity": 0,      "max_guests": 0,      "waitlist_enabled": true,      "counts": {        "going": 0,        "waitlisted": 0,        "spots_left": 0      },      "fields": [        {          "key": "string",          "label": "string",          "type": "text",          "required": true,          "options": [            "string"          ]        }      ],      "url": "string",      "calendar": {        "ics_url": "string",        "google_url": "string"      },      "organizer": {        "id": "string",        "name": "string",        "slug": "string",        "logo_url": "string",        "accent_color": "string"      },      "branding": {        "show_badge": true      },      "turnstile_site_key": "string"    }  ],  "next_cursor": "string"}