> ## Documentation Index
> Fetch the complete documentation index at: https://scaleup-c34c4386.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# GET /api/v1/organizations/:id/invites

> Lista os convites pendentes e não expirados de uma organização

Retorna todos os convites com status `pending` que ainda não expiraram. Convites revogados ou expirados não são incluídos.

## Autenticação

Requer **token de usuário (JWT Supabase)** via header `Authorization: Bearer`. O usuário deve pertencer à organização.

## Parâmetros de Path

**id** `string` *required*

ID da organização

## Resposta

**items** `array`

Lista de convites pendentes

**Propriedades de cada convite**

**id** `string`

ID do convite

**email** `string`

E-mail convidado

**created\_at** `string`

Data de criação do convite (ISO 8601)

**expires\_at** `string`

Data de expiração do convite (ISO 8601)

## Exemplo

```bash cURL theme={null}
curl -X GET "https://api.chargefy.io/api/v1/organizations/org_abc123/invites" \
  -H "Authorization: Bearer $CHARGEFY_ACCESS_TOKEN"
```

```typescript SDK theme={null}
import { Chargefy } from '@chargefy/sdk';

const chargefy = new Chargefy({
  accessToken: process.env.CHARGEFY_ACCESS_TOKEN,
});

const invites = await chargefy.organizations.listInvites('org_abc123');
```

## Resposta de Exemplo

```json theme={null}
{
  "items": [
    {
      "id": "inv_xyz789",
      "email": "pendente@colaborador.com.br",
      "created_at": "2026-03-20T10:00:00Z",
      "expires_at": "2026-03-27T10:00:00Z"
    }
  ]
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.