---
title: "List user invites"
method: GET
path: "/authn2/v0/tenant/{enterprise_id}/invite"
tags: ["esper_cloud_api_User"]
---

# List user invites

`GET /authn2/v0/tenant/{enterprise_id}/invite`

Returns all pending user invitations for the specified tenant, including each invite's status, metadata, and assigned role.

Use this endpoint to audit outstanding invitations, detect stale or duplicate invites, or build an admin UI that surfaces which users have been invited but have not yet completed registration.

**About List User Invites**

When a user is invited via POST /authn2/v0/tenant/{enterprise_id}/invite, an invite record is created and persists until the user accepts it or it is explicitly deleted. This endpoint returns the full list of those records for the tenant, including the role and group assignments encoded in the meta field, the associated identity provider invite ID (idp_invite_id), and timestamps. The response structure wraps results in a userinvites array alongside a count field.

**Key Fields (Response)**

id — the Esper invite UUID; use this with the DELETE endpoint to cancel an invite

email — the email address the invite was sent to

meta — the role and group assignment payload set at invite creation time, including any custom RBAC role binding

idp_invite_id — the identity provider's reference ID for this invite

send_invitation_email — whether an email was triggered for this invite

created_at / updated_at — timestamps for tracking invite age

**Common Use Cases**

Auditing which users have pending (unaccepted) invitations

Identifying and cleaning up stale invites before re-inviting a user

Building an admin console view of the invite queue

**Best Practices**

Cross-reference email values against your user directory to identify invites sent to addresses that have since changed

Use created_at to flag invites that have been pending longer than your organization's acceptable window, then cancel and re-invite as needed

Check this endpoint before calling POST .../invite to avoid duplicate invitations to the same email

**Workflow**

Call GET /authn2/v0/tenant/{enterprise_id}/invite to retrieve all pending invites

Review the userinvites array for emails, roles, and invite age

For any stale or incorrect invites, note the id and call DELETE /authn2/v0/tenant/{enterprise_id}/invite/{invite_id} to cancel

## Path parameters

- `enterprise_id` string, uuid, required

## Response `201`

Tenant user invites

- object
  - `count` integer
  - `userinvites` EsperCloudApiTenantUserInviteResponse[]
    - `id` string
    - `email` string, email
    - `tenant_id` string
    - `idp_invite_id` string
    - `meta` object
    - `connection_id` string
    - `send_invitation_email` boolean
    - `created_at` string, date-time
    - `updated_at` string, date-time

## Other responses

- `400` — List tenant user invites error
- `401` — Unauthorized

---

[API](https://skmtc.net/esper/apis/esper-api-reference.md) · [All operations](https://skmtc.net/esper/apis/esper-api-reference/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/esper/esper-api-reference/versions/e1f64cbb488e/schema)
