With the users
endpoint, you can get a list of your company’s users, this includes their id, email address, full name, and a link to their profile picture.
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
.
List of company users
No or invalid API key provided to the request
Could not find the company or the user does not have permissions to retrieve data
Error occurred while retrieving company users
{- "company": {
- "users": [
- {
- "user": {
- "id": "54fb80af-576c-4fdc-ba4f-b596c83f15a1",
- "full_name": "John Doe"
}
}
]
}
}