Where do I find the GitHub API URL? #201350
-
🏷️ Discussion TypeQuestion 💬 Feature/Topic AreaAPI BodyI'm trying to set up my first GitHub API for our Enterprise. I've gotten to the point where I've got to specify a GitHub API URL, but I don't know where to find that. Where do I look for that? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 5 replies
-
|
First register for one here and there is a guide for it: (https://docs.github.com/en/integrations/concepts/github-developer-program). I think they give you the key details and the links that you would need to continue your project. However, that's only if your business doesn't have one yet. If your business already has an established enterprise instance, the API URL is already generated based on your company's domain hosting layout: Self-Hosted/On-Premise (e.g., You won't need to wait on GitHub to generate a link. You just need to create a Personal Access Token (PAT) or a GitHub App integration within your existing enterprise settings to start making requests. |
Beta Was this translation helpful? Give feedback.
-
|
If you're using GitHub Enterprise Cloud, the API URL is usually https://api.github.com. If you're using GitHub Enterprise Server (self-hosted), it's typically https:///api/v3. If you're not sure which one your company uses, your GitHub admin should be able to confirm it. |
Beta Was this translation helpful? Give feedback.
First register for one here and there is a guide for it: (https://docs.github.com/en/integrations/concepts/github-developer-program). I think they give you the key details and the links that you would need to continue your project. However, that's only if your business doesn't have one yet. If your business already has an established enterprise instance, the API URL is already generated based on your company's domain hosting layout:
Self-Hosted/On-Premise (e.g.,
github.company.com): Your REST API URL ishttps://github.mcszy.xyzpany.com/api/v3Standard Public Cloud (e.g.,
github.com/company): Your REST API URL ishttps://api.github.comDedicated Subdomain (e.g.,
company.ghe.com): Your REST API U…