Events
List events
Events in the key's mode, soonest first. Requires the `events:read` scope.
GET
Events in the key's mode, soonest first.
Requires the events:read scope.
secretKeyheader
AuthorizationBearer <token>A secret key: wc_live_... or wc_test_.... Keep it on your server.
limit?integerPage size, 1 to 100. Defaults to 50.
Range
1 <= value <= 100cursor?stringThe next_cursor from the previous page.
Length
1 <= length <= 1024status?stringValue in
"draft""published""cancelled"series_id?stringMatch
^ser_[0-9A-Za-z]{6,64}$starts_after?stringOnly events starting at or after this time.
Format
date-timeA page of events.
application/json- response
data*array<>next_cursor*|Pass as cursor to get the next page. null on the last page.
curl -X GET 'https://api.whocoming.com/v1/events'Example Response
{ "data": [ { "id": "string", "mode": "live", "series_id": "string", "slug": "string", "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", "capacity": 0, "max_guests": 0, "waitlist_enabled": true, "visibility": "public", "status": "draft", "price_note": "string", "cover_image_url": "string", "fields": [ { "key": "string", "label": "string", "type": "text", "required": true, "options": [ "string" ] } ], "counts": { "going": 0, "waitlisted": 0, "spots_left": 0 }, "url": "string", "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" } ], "next_cursor": "string"}