Activity Logs

The activity-logs endpoint can be used to retrieve the data from the Company Activity Log.

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 activity logs

SecuritybearerAuth
Request
query Parameters
limit
number
Default: 10
Example: limit=10
offset
number
Default: 0
Example: offset=3
category
string
Enum: "siteActions" "kinstaDns" "migrations" "billing" "notifications" "userManagement" "personalSettings" "samlSso"
Example: category=siteActions
site_id
string
id_initiated_by
string
id_api_key
string
language
string
Default: "en"
Enum: "da" "de" "en" "es" "fr" "it" "ja" "nl" "pt" "sv"
Responses
200

Successfully found activity logs

401

No or invalid API key provided to the request

404

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

500

Error occurred while retrieving activity logs

get/company/{id}/activity-logs
Request samples
Response samples
application/json
{
  • "company": {
    }
}