Graphql endpoint for codegen

I see has it’s api schema shared at
But this only shares a JSON representation of the api.

I however am trying to run graphql codegen to generate a typescript ready file.
So I need the url to the actual graphql schema endpoint.
As can be seen used in the following link

Can anyone direct me where I can find that please?

Hello @tufvessonr and welcome to the community!

I hope you like it here :muscle:

I am not sure about this one but I will check with our team and let you know when I get a reply!


Hello again @tufvessonr!

I have checked with our team and we do not provide other representations for the schema.

In this case you would have to convert it to the desired representation on your end.


I see.

Well that’s to bad.
But thanks for the info @Matias.Monday.

Has anyone suggested to them to add that functionality?
It’s not a security risk issue and the JSON version is already shared.
So I don’t see why they would have an issue with allowing the public access to it.

Benefit wise…
It would make adding typescript to the auto generated integration apis much easier for developers.

Hello there @tufvessonr!

Nobody had suggested this as far as I know but I will share this with our team :slightly_smiling_face:

Thank you for the feedback!


Hi @tufvessonr ,

I had the same problem, but u can easily convert the json schema into .graphql schema:

const { readFileSync } = require('fs');
const  graphql = require('graphql');

var data = JSON.parse(readFileSync("./schema.json").toString()).data
var schema = graphql.buildClientSchema(data)


Hello @halbritter!

Welcome to the community and thank you for sharing that :slightly_smiling_face: