List organization hubs
Filter by tag categories using query params named after category slugs (e.g. ?age_group=5-8,9-12&sport=swimming). Within a category, values are OR'd; across categories, they are AND'd. Also supports single-value tag / collection / category filters. Use facets=true to include facet counts in the response.
ApiCredentialAuthorizationBearer <edk_<id>_<secret>>A scoped API credential (edk_...), issued in the admin under Settings > Integrations and sent as Authorization: Bearer edk_.... Its level, scope and refusals are in Authentication; its rate limit and the 429 response are in Errors.
orgSlug*stringlimit?|Maximum number of items to retrieve per page. Use "all" to retrieve all items without pagination.
cursor?stringOpaque cursor for pagination
query?stringSearch hubs by name
length <= 72parentId?stringFilter by parent hub ID. Use "root" for top-level hubs only.
facets?"true"Set to "true" to include facet counts in the response
"true"state?stringFilter hubs by temporal state. "upcoming" returns hubs whose starts_at is in the future. "active" returns hubs currently in progress (starts_at <= now and ends_at is null or in the future). "past" returns hubs whose ends_at is in the past.
"upcoming""active""past"startsAfter?stringFilter to items starting at or after this date-time.
date-timestartsBefore?stringFilter to items starting at or before this date-time.
date-timeendsAfter?stringFilter to items ending at or after this date-time.
date-timeendsBefore?stringFilter to items ending at or before this date-time.
date-timetag?stringFilter by tag slug.
tagCategory?stringFilter by tag-category slug.
collection?stringFilter by collection slug.
collectionCategory?stringFilter by collection-category slug.
collectionItem?stringFilter by collection-item id (UUID).
uuidSuccessful operation
application/json- response
hubs?array<>total?integerpaging?facets?array<>curl -X GET "$EVENTDOOR_API/organizations/acme/hubs" \
-H "Authorization: Bearer $EVENTDOOR_TOKEN"{
"hubs": [
{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"organizationId": "7bc05553-4b68-44e8-b7bc-37be63c6d9e9",
"parentId": "70850378-7d3c-4f45-91b7-942d4dfbbd43",
"name": "string",
"slug": "string",
"description": "string",
"avatarUrl": "string",
"bannerUrl": "string",
"posterUrl": "string",
"location": "string",
"startsAt": "2019-08-24T14:15:22Z",
"endsAt": "2019-08-24T14:15:22Z",
"timezone": "string",
"allDay": true,
"organization": {
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"slug": "string",
"name": "string",
"avatarUrl": "string"
},
"tags": [
{
"category": {
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"slug": "string",
"name": "string"
},
"values": [
{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"slug": "string",
"label": "string"
}
]
}
],
"childrenCount": 0,
"children": [
{}
],
"gate": {
"tier": "free",
"origin": "direct",
"gatedContentType": "broadcast",
"gatedContentId": "6a2155c7-3a80-4718-80d0-2c42044f9b75",
"label": "string",
"buttonLabel": "string",
"showPrice": true,
"unitAmount": 0,
"currency": "string",
"recurringInterval": "day"
},
"created": "2019-08-24T14:15:22Z",
"updated": "2019-08-24T14:15:22Z"
}
],
"total": 0,
"paging": {
"next": "string",
"hasMore": true
},
"facets": [
{
"categorySlug": "string",
"categoryName": "string",
"values": [
{
"slug": "string",
"label": "string",
"count": 0
}
]
}
]
}