Getting a list of your events
Use the following to get your ID:
query {
viewer {
id
firstName
lastName
}
}
If you are not the account holder, but you have been set up as a team member of the account with appropriate permissions, you can use the following query to see which accounts you have access to:
query {
viewer {
id
memberships {
nodes {
id
owner {
id
name
}
}
}
}
}
Once you have the account ID need, use the following query with that ID to now get the list of events you want:
query {
host(id: "<host_id>") {
name
events {
totalCount
nodes {
id
title
description
url
}
}
}
}
Updated over 5 years ago