---
title: "Fetch Invites"
method: GET
path: "/servers/{target}/invites"
tags: ["Server Members"]
---

# Fetch Invites

`GET /servers/{target}/invites`

Fetch all server invites.

## Path parameters

- `target` string, required

## Response `200`

- Invite[]
  - union — Invite
    - object — Invite to a specific server channel
      - `type` 'Server', required
      - `_id` string, required — Invite code
      - `server` string, required — Id of the server this invite points to
      - `creator` string, required — Id of user who created this invite
      - `channel` string, required — Id of the server channel this invite points to
    - object — Invite to a group channel
      - `type` 'Group', required
      - `_id` string, required — Invite code
      - `creator` string, required — Id of user who created this invite
      - `channel` string, required — Id of the group channel this invite points to

## Other responses

- `default` — An error occurred.

---

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