I want to create a folder using GitHub API

I’ve recently created a GitHub organization and have been working on building the first environment and so on.

I was able to create a new repository in a GitHub organization using GitHub API, but I’m having trouble creating a folder under the repository using API.

I’d like to know if anyone can tell me more about this.
Thank you for your help.

I was able to create a folder from following URL.

Thank you for joining the community @ryoshindo, I see you’ve found our API documentation. Here is some additional reading that you might find useful:

Octokit is very useful!
Thank you for your support.

1 Like