# Invite company and site users with the Kinsta API

**URL:** <https://community.kinsta.com/t/invite-company-and-site-users-with-the-kinsta-api/8817>\
**Category:** News and Announcements\
**Created:** [November 27, 2026, 1:16am UTC](https://community.kinsta.com/t/invite-company-and-site-users-with-the-kinsta-api/8817 "2026-11-27T01:16:20Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jeff](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/jeff/32/16_2.png) [@jeff](https://community.kinsta.com/u/jeff)\
**Post date:** [November 27, 2026, 1:16am UTC](https://community.kinsta.com/t/invite-company-and-site-users-with-the-kinsta-api/8817/1 "2026-11-27T01:16:21Z")

</div>

We’ve added three new endpoints to the Kinsta API that let you invite users to your company or specific WordPress sites and check which invitations are still pending.

You can send invitations to multiple email addresses in a single request, assign company or site roles, and retrieve pending invitations along with their assigned permissions.

These endpoints build on our[recent Kinsta API user management updates](https://kinsta.com/changelog/kinsta-api-oct-2026/), which introduced ways to retrieve existing users and change their company and site permissions.

### Info

You need a valid API key to use Kinsta API endpoints. You can[create or manage your API keys](https://kinsta.com/blog/kinsta-api-key/) in MyKinsta. The actions available to your API key depend on the permissions of the user who created it.

## Invite users to your company

The new[Invite users to the company](https://api-docs.kinsta.com/api-reference/invites/invite-users-to-the-company) endpoint lets you invite people to join your company with a specified role.

It accepts an `emails` array containing one or more email addresses and a `role` field that determines the company-level permissions assigned to the invitees.

Three roles are supported:

- `company-admin`
- `company-developer`
- `company-billing`

For example, you can invite two developers to your company with a single POST request:

```
curl --request POST \
  --url https://api.kinsta.com/v2/company/{id}/company-invites \
  --header 'Authorization: Bearer ' \
  --header 'Content-Type: application/json' \
  --data '{
    "emails": [
      "developer1@mycompany.com",
      "developer2@mycompany.com"
    ],
    "role": "company-developer"
  }'
```

Make sure you replace `{id}` with your company ID. The API returns a `202 Accepted` response with an operation ID:

```
{
  "operation_id": "company:invite-users-to-company-c3d4e5f6-a7b8-4c9d-8e1f-2a3b4c5d6e7f",
  "message": "Inviting users to company in progress",
  "status": 202
}
```

The response confirms that the invitation request has been accepted for processing, rather than that the recipients have already joined your company.

You can track the operation using the returned `operation_id` and the[Get operation status](https://api-docs.kinsta.com/api-reference/operations/get-the-status-information-of-an-operation) endpoint.

## Invite users to specific WordPress sites

If someone only needs access to certain WordPress sites, you can use the new[Invite users to sites](https://api-docs.kinsta.com/api-reference/invites/invite-users-to-sites) endpoint instead.

Unlike company invitations, this endpoint lets you assign site-level permissions. It accepts an `emails` array and a `site_capabilities` array containing the sites and roles to assign.

Two site roles are supported: `site-admin` and `site-developer`.

For example, you can invite a developer and assign them the Site Developer role on one WordPress site:

```
curl --request POST \
  --url https://api.kinsta.com/v2/company/{id}/site-invites \
  --header 'Authorization: Bearer ' \
  --header 'Content-Type: application/json' \
  --data '{
    "emails": [
      "developer@mycompany.com"
    ],
    "site_capabilities": [
      {
        "site_id": "b2c3d4e5-f6a7-4b8c-9d0e-1f2a3b4c5d6e",
        "role": "site-developer"
      }
    ]
  }'
```

Each object in `site_capabilities` specifies a `site_id` and the role to assign. You can include multiple site assignments in the same request.

The API responds with an operation ID:

```
{
  "operation_id": "company:invite-users-to-sites-d4e5f6a7-b8c9-4d0e-9f2a-3b4c5d6e7f80",
  "message": "Inviting users to sites in progress",
  "status": 202
}
```

For agencies managing multiple client websites, this endpoint lets you grant developers or collaborators access to the relevant sites without giving them company-wide permissions.

For example, an onboarding script could send site invitations with the appropriate roles when a new developer joins a project.

## Check pending invitations

After sending invitations, you may want to check who has yet to accept them. The new[Get list of company pending invites](https://api-docs.kinsta.com/api-reference/invites/get-list-of-company-pending-invites) endpoint returns pending invitations for a company, including the recipient’s email address, invitation status, and assigned capabilities.

To retrieve the list, send a GET request with your company ID:

```
curl --request GET \
  --url https://api.kinsta.com/v2/company/{id}/pending-invites \
  --header 'Authorization: Bearer '
```

The response includes a `pending_invitations` array:

```
{
  "company": {
    "id": "54fb80af-576c-4fdc-ba4f-b596c83f15a1",
    "pending_invitations": [
      {
        "id": "a1b2c3d4-e5f6-4a7b-8c9d-0e1f2a3b4c5d",
        "email": "developer@mycompany.com",
        "status": "pending",
        "capabilities": [
          {
            "company_id": "54fb80af-576c-4fdc-ba4f-b596c83f15a1",
            "site_id": null,
            "role": "company-developer",
            "type": "company"
          }
        ]
      }
    ]
  }
}
```

Each invitation includes an `id`, `email`, `status`, and `capabilities` array. The capabilities indicate whether the invitation grants company-level or site-level access and which role has been assigned.

You can use this information to identify outstanding invitations and verify that the correct permissions were selected.

## Add invitations to your user-management workflows

These endpoints let you handle invitations programmatically alongside the existing APIs for retrieving users and changing their permissions.

You can use them to invite team members during onboarding, assign access to client sites, and check outstanding invitations from your own tools.

See the[Kinsta API documentation](https://api-docs.kinsta.com/api-reference/invites/invite-users-to-the-company) for the full request and response schemas.

The post [Invite company and site users with the Kinsta API](https://kinsta.com/changelog/kinsta-api-nov-26-2026/) appeared first on [Kinsta®](https://kinsta.com).

* * *
This is a companion discussion topic for the original entry at [https://kinsta.com/changelog/kinsta-api-nov-26-2026/](https://kinsta.com/changelog/kinsta-api-nov-26-2026/)
