Skip to main content
GET
/
company
/
{id}
/
api-keys
Get list of company API Keys
curl --request GET \
  --url https://api.kinsta.com/v2/company/{id}/api-keys \
  --header 'Authorization: Bearer <token>'
{
  "api_keys": [
    {
      "id": "54fb80af-576c-4fdc-ba4f-b596c83f15a1",
      "name": "Public API Key",
      "status": "active",
      "expires_at": "2028-08-21T08:15:21.872Z"
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required
Example:

"54fb80af-576c-4fdc-ba4f-b596c83f15a1"

Response

List of company API Keys

api_keys
object[]
required