---
title: "List pending repo invites"
method: GET
path: "/repos/invites"
tags: ["Repository Management"]
---

# List pending repo invites

`GET /repos/invites`

Retrieves all pending repository collaboration invitations for the current user based on their email address.

**Filtering:**
Returns non-expired invitations with optional status filtering (defaults to PENDING).

**Each invite includes:**
- Repository name
- Organization (if applicable)
- Inviting user details
- Access mode
- Expiration time

**Use case:**
Used by clients to display pending invitations requiring user action.

## Query parameters

- `status` 'PENDING' | 'ACCEPTED' | 'REJECTED' | 'CANCELED'

## Response `200`

Repository invites returned

- RepoInviteList
  - `invites` RepoInvite[], required
    - `id` integer, required — Unique identifier for the repository invite
    - `repo_id` string, required — ID of the repository
    - `repo_name` string, required — Name of the repository
    - `inviting_user_name` string, required — Name of the user who is inviting to the repository
    - `organization_name` string — Name of the organization
    - `mode` 'READ' | 'WRITE' | 'ADMIN' | 'OWNER', required
    - `created` string, date-time, required — Date and time when the invite was created
    - `expires` string, date-time, required — Date and time when the invite expires
    - `status` 'PENDING' | 'ACCEPTED' | 'REJECTED' | 'CANCELED'

## Other responses

- `default` — An error occurred

---

[API](https://skmtc.net/diversion/apis/diversion-core-api.md) · [All operations](https://skmtc.net/diversion/apis/diversion-core-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/diversion/diversion-core-api/revisions/38a18aba804b/schema)
