What is the format of the GraphQL endpoint with enterprise?

I have a script that uses the ZenHub REST API but was looking at migrating to the GraphQL API. We have GitHub Enterprise and I assume that means requires ZenHub Enterprise also.

What I’m unsure about is … what is the URL for the ZenHub GraphQL endpoint?

The help only says to use https://api.zenhub.com/public/graphql.

I’ve tried formats like the below…
https://api.<server_name>.<domain>.com/public/graphql
and
https://<server_name>.<domain>.com/graphql

But neither worked. Am I just missing something?

Found it in the help ZenHub enterprise api help (which I just happened to stumble upon).

It is in the form https://<server>.<domain>.com/public/graphql

The help give the exact url for the instance.

Glad you were able to find it. You’re right – the URL for On Premise installations can differ, depending on how your infrastructure team has deployed the application. In most cases it will be https://<server>.<domain>.com/public/graphql but it’s not guaranteed.