An event is one occasion, such as a conference (gathering in the schema). An event belongs to an app. The queries on this page select the app with appId. The Gathering type holds the data of an event.
Most other queries and mutations work on the data of one event. They need the id of the event in gatheringId. The gatherings query lists the events of an app, with their ids.
List the events of an app
gatherings takes appId and filters. filters is a GatheringFilters value. Scalars lists the four filter fields.
query ListEvents($appId: ID!) {
gatherings(appId: $appId) {
id
name
startsOn
endsOn
timeZone
hidden
appId
externalId
}
}
{
"data": {
"gatherings": [
{
"id": "123",
"name": "Annual Conference 2026",
"startsOn": "2026-06-15T00:00:00Z",
"endsOn": "2026-06-17T00:00:00Z",
"timeZone": "UTC",
"hidden": false,
"appId": "45",
"externalId": "CONF-2026"
}
]
}
}
The startsOn field is the start of the first day of the event. The endsOn field is the start of the last day of the event. Each value is midnight in the time zone of the event, written as a UTC Datetime. For an event east of UTC, the date part of the value is one day before the local date.
This article is a copy of Events in the Touchpoint API documentation.
Comments
0 comments
Please sign in to leave a comment.