API Keys

The api-keys endpoint can be used to retrieve the list of API Keys from your MyKinsta company.

You can obtain the company_id from MyKinsta > username > Company settings > Billing details.

The company_id is also shown in the URL in MyKinsta, for example in the URL https://my.kinsta.com/?idCompany=bdd25d71-5706-4890-870f-1adda17c505d the company_id is bdd25d71-5706-4890-870f-1adda17c505d.

Get list of company API Keys

SecuritybearerAuth
Request
path Parameters
id
required
string
Example: 54fb80af-576c-4fdc-ba4f-b596c83f15a1
Responses
200

List of company API Keys

401

No or invalid API key provided to the request

404

Could not find the company or the user does not have permissions to retrieve data

500

Error occurred while retrieving company API Keys

get/company/{id}/api-keys
Request samples
Response samples
application/json
{
  • "api_keys": [
    ]
}