# List invitation metadata without bearer tokens, restricted to current caller scope (/docs/api-reference/invites/InvitesController_findAll)

`GET /api/invites`

Base URL: https://api.xentr.ai

Authentication: bearer token (`Authorization: Bearer <token>`).

## Parameters

| Name | In | Required | Type | Description |
| --- | --- | --- | --- | --- |
| `organizationId` | query | no | string | Restrict invitation metadata to one accessible organization. |

## Responses

### 200: Scoped invitation metadata; bearer tokens are never returned

Content type: `application/json`

```json
{
  "type": "array",
  "items": {
    "type": "object",
    "properties": {
      "id": {
        "type": "string",
        "format": "uuid"
      },
      "email": {
        "type": "string"
      },
      "role": {
        "type": "string"
      },
      "organizationId": {
        "type": "string",
        "nullable": true
      },
      "factoryId": {
        "type": "string",
        "nullable": true,
        "description": "Factory slug."
      },
      "invitedBy": {
        "type": "string"
      },
      "expiresAt": {
        "type": "string"
      },
      "acceptedAt": {
        "type": "string",
        "nullable": true
      },
      "createdAt": {
        "type": "string",
        "nullable": true
      }
    },
    "required": [
      "id",
      "email",
      "role",
      "organizationId",
      "factoryId",
      "invitedBy",
      "expiresAt",
      "acceptedAt",
      "createdAt"
    ]
  }
}
```