Learn about some general principles for working with our API. To learn more about GraphQL itself we recommend visiting graphql.org/learn.
All requests to the API must be authenticated with an access token. This access token can be taken from Settings > Organization > API, and you can send it along with requests in the HTTP
All API requests must be made over HTTPS. Calls made over plain HTTP or requests without authentication will fail.
Unlike a REST API, a GraphQL API has just a single endpoint. For the Groove GraphQL API you need to run every operation against the following endpoint:
The Groove API conforms to the GraphQL Cursor Connections Specification. These connections make use of cursor-based pagination. Cursors are like pointers, and they point to a place in the list of where your last request left off.
You can find more details about this pattern on the GraphQL Cursor Connections Specification page.
Lists of nodes that are paged all implement this pattern.
|Returns the elements in the list that come after the specified cursor.|
|Returns the elements in the list that come before the specified cursor.|
|Returns the first _n_ elements from the list.|
|Returns the last _n_ elements from the list.|
|A list of edges.|
|A list of nodes.|
|Information to aid in pagination.|
|The total number of objects returned from the query.|
|The total number of pages based on total page count and page size.|
Edges represent nodes within a result set. They contain the node and a cursor which is a string represenation of that node's position within the result set.