Account

Create an API key

POST /v1/account/api-keys
Permission
write:tokens
Tokens
CLI user token

Create an API key for your account. The response holds its secret, returned only this once. Only a GitHub administrator of your organization can create a key, and an API key cannot create another.

{
"name": str
}

Request

namestringrequired

Response

api_keyApiKeyApirequired

An API key. Its secret is returned only when the key is created.

secretstringrequired

On this page

No Headings
Schedule a demo
For HumansFor Agents