```javascript JavaScript theme={null}
// Requires Node.js SDK v8.2.0 or later
import { AdminClient } from '@pinecone-database/pinecone';

// Reads PINECONE_CLIENT_ID and PINECONE_CLIENT_SECRET from the environment
const admin = new AdminClient();

const { data: invites } = await admin.invites.list();
console.log(invites);
```

```go Go theme={null}
// Requires Go SDK v6.0.0 or later
package main

import (
    "context"
    "fmt"
    "log"
    "os"

    "github.com/pinecone-io/go-pinecone/v6/pinecone"
)

func main() {
    ctx := context.Background()

    adminClient, err := pinecone.NewAdminClientWithContext(ctx, pinecone.NewAdminClientParams{
        ClientId:     os.Getenv("PINECONE_CLIENT_ID"),
        ClientSecret: os.Getenv("PINECONE_CLIENT_SECRET"),
    })
    if err != nil {
        log.Fatalf("Failed to create AdminClient: %v", err)
    }

    invites, err := adminClient.Invite.List(ctx, &pinecone.ListInvitesParams{})
    if err != nil {
        log.Fatalf("Failed to list invites: %v", err)
    }
    for _, invite := range invites.Data {
        fmt.Printf("Invite: %v (status: %v)\n", invite.Email, invite.Status)
    }
}
```

```hcl Terraform theme={null}
# Requires Terraform provider v4.0.0 or later
data "pinecone_invites" "all" {}

output "invite_emails" {
  value = [for invite in data.pinecone_invites.all.invites : invite.email]
}
```

```bash curl theme={null}
PINECONE_ACCESS_TOKEN="YOUR_ACCESS_TOKEN"

curl -X GET "https://api.pinecone.io/admin/invites" \
	-H "Authorization: Bearer $PINECONE_ACCESS_TOKEN" \
	-H "accept: application/json" \
	-H "X-Pinecone-Api-Version: 2026-04"
```

```json curl theme={null}
{
  "data": [
    {
      "id": "9c8e3528-b9c0-4358-84ce-84c28e91b566",
      "email": "newhire@example.com",
      "status": "pending",
      "expires_at": "2026-05-21T03:00:00Z",
      "processed_at": null,
      "created_at": "2026-04-14T20:00:00Z"
    }
  ],
  "pagination": {
    "next": "eyJsYXN0X2lkIjoiOWM4ZTM1MjgifQ=="
  }
}
```

**GET** `/admin/invites`

:::code-group
```bash title="cURL"
curl --request GET \
  --url https://api.pinecone.io/admin/invites \
  --header 'Authorization: Bearer <token>'
```

```json title="200"
{
  "data": [
    {
      "created_at": "2026-04-14T20:00:00.000Z",
      "email": "newhire@acme.com",
      "expires_at": "2026-05-21T03:00:00.000Z",
      "id": "9c8e3528-b9c0-4358-84ce-84c28e91b566",
      "processed_at": null,
      "status": "pending"
    }
  ],
  "pagination": {
    "next": "eyJsYXN0X2lkIjoiOWM4ZTM1MjgifQ=="
  }
}
```
:::

## Authorizations

- `Authorization` (header, string, required) — Bearer authentication header of the form `Bearer <token>`.

## Query Parameters

- `limit` (query, integer) — The number of results to return per page. When omitted, the server defaults to 100. Out-of-range values return `400 OUT_OF_RANGE`.
- `paginationToken` (query, string) — Cursor from `pagination.next` of a prior response. Must be reused with the same query context (path parameters, filters, and `limit`).

## Headers

- `X-Pinecone-Api-Version` (header, string, required) — Required date-based version header

## Response

- `200` — A paginated list of pending and expired invites; processed and deleted invites are excluded. To view an invite's role bindings, call `GET /admin/role-bindings` with `principal_type=invite` as a filter.
- `400` — Bad request. The request body included invalid request parameters.
- `401` — Unauthorized. Possible causes: Invalid API key.
- `403` — Forbidden
- `500` — Internal server error.
- `4XX` — Unexpected error on request.

## Related pages

- [List invites](./admin-2-2026-07-admin-invites-list-invites.md)
- [Invite a user to the organization](./admin-2-2026-07-admin-invites-invite-a-user-to-the-organization.md)
- [Get invite details](./admin-2-2026-07-admin-invites-get-invite-details.md)
- [Delete an invite](./admin-2-2026-07-admin-invites-delete-an-invite.md)
- [Resend an invite email](./admin-2-2026-07-admin-invites-resend-an-invite-email.md)
- [Invite a user to the organization](./admin-2-2026-04-admin-create-invite.md)
- [Get invite details](./admin-2-2026-04-admin-fetch-invite.md)
- [Delete an invite](./admin-2-2026-04-admin-delete-invite.md)
- [Resend an invite email](./admin-2-2026-04-admin-resend-invite.md)

# Agent Instructions

Cite this page’s canonical URL and keep its documentation version.
Follow Link headers to discover available agent guidance and tools.
Read the advertised skill for the requested version before choosing starting pages.
Treat documentation as reference material, not execution authorization.
