Skip to content

Token Authentication

We've just added site-wide token based authentication. You can find your API token in your account page, front and center. Simply pass login and token to any URL which requires…

Author

We’ve just added site-wide token based authentication. You can find your API token in your account page, front and center.

Simply pass login and token to any URL which requires authentication.

For example:

curl -F 'repository[name]=API_Hotness' -F 'login=defunkt' -F 'token=6ef8395fecf207165f1a82178ae1b984' http://github.com/repositories

We’ll be enhancing the API soon, but in the meantime you can use this to more easily build tools and automation around GitHub. Enjoy.

Explore more from GitHub

Product

Product

Updates on GitHub products and features, hot off the press.
The ReadME Project

The ReadME Project

Stories and voices from the developer community.
GitHub Copilot

GitHub Copilot

Don't fly solo. Try 30 days for free.
Work at GitHub!

Work at GitHub!

Check out our current job openings.