# listTeamInvites

List the organization's team invitations: pending (isAlive: true) and spent/revoked (isAlive: false), single-use and permanent; acceptUrl is a full link. A live single-use invite is someone not yet joined; remove one with revokeTeamInvite.

- Call: `POST https://server.goliathdata.com/api/v1/call` with `{ "operationId": "listTeamInvites", "variables": {...} }`
- Scope: `ADMIN`
- Type: query
- Idempotency: a read; rejects `Idempotency-Key`
- Rate-limited: no

## Variables

None.

## Response (data, an example)

```json
{
  "organization": {
    "id": "<ID>",
    "invitations": [
      {
        "id": "<ID>",
        "acceptUrl": "…",
        "isAlive": true,
        "isPermanent": true,
        "phoneRequired": true,
        "userType": "ADMIN",
        "email": "…",
        "createdAt": "2026-01-01T00:00:00.000Z"
      }
    ]
  }
}
```

## Example

```bash
curl https://server.goliathdata.com/api/v1/call \
  -H "Authorization: Bearer $GOLIATH_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "operationId": "listTeamInvites",
    "variables": {}
  }'
```
