invites endpoint lets you send a GET request to retrieve a list of pending invitations, and a POST request to invite users to a company or site in MyKinsta.
When you invite a user to a company, you can assign one of the following roles:
company-admincompany-developercompany-billing
site-adminsite-developer
company_id in MyKinsta under username > Company settings > Billing Details. The company_id, site_id, and environment_id are also shown in the URL when you open an environment in MyKinsta. For example, in the following URL:
https://my.kinsta.com/sites/details/fbab4927-e354-4044-b226-29ac0fbd20ca/c84ce214-69b9-4a32-8e67-880672cf1d38?idCompany=bdd25d71-5706-4890-870f-1adda17c505d
- The
site_idisfbab4927-e354-4044-b226-29ac0fbd20ca - The
environment_idisc84ce214-69b9-4a32-8e67-880672cf1d38 - The
company_idisbdd25d71-5706-4890-870f-1adda17c505d