Skip to content

GraphQL API

Use BankGround to get familiar with GraphQL and understand its differences to REST.

In short, GraphQL is a query language for APIs. You specify what data you want, and you get exactly that data. No more, no less.

We can use GraphQL queries to get data and GraphQL mutations to change data.

Using GraphQL in BankGround

Before you start using GraphQL in BankGround, you need to obtain an access token. See Authorization for details.

Once you have the token use it the same way as for REST API, i.e. as a Bearer token in the Authorization header.

E.g.

Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJrYXJlbEBhcGltYXRlLmV4YW1wbGUubmV0IiwiZXhwIjoxNjg1MDEwNDIxfQ.UJ5KR1gLxZT2ypM_I8VxSvUADwqj5rRBzQwyNeLe6_4

Use the GraphQL endpoint at https://bankground.apimate.eu/graphql to send GraphQL queries and mutations.

Let's see 👀 how to query data and how to mutate data.