Exploring the APIs

The official APIs supported by Twingate are GraphQL APIs: GraphQL is a powerful design for APIs because it allows users to craft very specific queries and only retrieve the information needed for a given operation with no extra fluff.

The common challenge with GraphQL though is that it tends to be a bit more complex to figure out and is a bit less intuitive than your typical Rest APIs.

The good news is that the following video walkthroughs should get you started with our GraphQL APIs even if you are completely unfamiliar with GraphQL as a whole.

Part 1 - Getting Started with the GraphQL APIs

What you will learn in the following video:

  • Generate an API Token
  • Navigate the Postman Collection
  • Exploring available Queries

Part 2 - Using Nesting with the APIs

What you will learn in the following video:

  • Exploring more advanced Queries
  • Figuring out how to nest Queries

Part 3 - Working with Mutations

What you will learn in the following video:

  • Working with Mutations
  • Exploring Mutations
  • Use Variables in Queries and Mutations

Bonus Content 1 - Exploring Queries using Introspection

If you want to explore the APIs and figure out new Queries using Introspection on your own, check out the guide below:

Bonus Content 2 - Exploring Mutations using Introspection

If you want to explore the APIs and figure out new Mutations using Introspection on your own, check out the guide below:

Last updated 3 minutes ago