List events
GET
/eventsAuthorization
AuthorizationOAuth2 access token · headerrequiredScopes:
readResponses
200Success
itemsEvent[]requiredShow propertiesHide properties
Array of
EventidobjectrequiredslugobjectrequirednameobjectrequiredstatusobjectrequiredAllowed:
draftupcominglivecompletedcanceledarchivedpublishedstart_timeobjectrequiredend_timeobjectrequiredtimezoneobjectrequireddescriptionobjectrequiredcityobjectrequiredcountryobjectrequiredcreated_atobjectrequiredmetadataMetadatarequired401Missing, invalid, expired, or revoked OAuth token
errorstring429Rate limit exceeded
errorstringRequest
curl -X GET "http://localhost:3000/api/v2/events" \
-H "Authorization: Bearer YOUR_ACCESS_TOKEN"const response = await fetch("http://localhost:3000/api/v2/events", {
method: "GET",
headers: {
"Authorization": "Bearer YOUR_ACCESS_TOKEN"
}
});import requests
response = requests.get(
"http://localhost:3000/api/v2/events",
headers={
"Authorization": "Bearer YOUR_ACCESS_TOKEN"
},
)Response
{
"items": [
{
"id": {},
"slug": {},
"name": {},
"status": "draft",
"start_time": {},
"end_time": {},
"timezone": {},
"description": {},
"city": {},
"country": {},
"created_at": {}
}
],
"metadata": {}
}{
"error": "string"
}{
"error": "string"
}