---
title: "Get user invite"
method: GET
path: "/invites/{id}"
tags: ["invites"]
---

# Get user invite

`GET /invites/{id}`

Get user invite

## Path parameters

- `id` string, id, required

## Response `200`

Get user invite

- Invite
  - `acceptedAt` string, date-time
  - `created` string, date-time, required
  - `email` string, required
  - `id` string, required
  - `inviter` object, required
    - `id` string, required
  - `organization` object, required
    - `id` string, required
  - `organizationMembership` OrganizationMembership, required
    - `organizationId` string, required
    - `restrictions` OrganizationMembershipRestrictions
      - `clusterIds` IDFilterValue
        - `exclude` string[]
        - `include` string[]
      - `environmentIds` IDFilterValue
        - `exclude` string[]
        - `include` string[]
      - `namespaceIds` IDFilterValue
        - `exclude` string[]
        - `include` string[]
      - `serviceIds` IDFilterValue
        - `exclude` string[]
        - `include` string[]
    - `role` 'ADMIN' | 'VIEWER', required
  - `status` 'PENDING' | 'ACCEPTED', required

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found
- `408` — Request Timeout
- `409` — Conflict
- `422` — Unprocessable Entity
- `500` — Internal Server Error
- `default`

## Changes

> 33 revisions in range; 1 could not be searched.

- **2025-04-16** `6b4369907cb8` — 2 info
  - added the non-success response with the status `408`
  - added the required property `organizationMembership` to the response with the `200` status
- **2023-11-13** `eb0110bd4dd2` — 1 warning
  - changed the pattern of the `path` request parameter `id` from `^[A-Za-z]+_[a-z0-9]+$` to `^[A-Za-z_]+_[a-z0-9]+$`
- **2023-02-20** `97ccc14f493c` — 1 breaking
  - for the `path` request parameter `id`, the type/format was changed from `string`/`ouid` to `string`/`id`
- **2023-02-08** `76634bc9add8` — 2 breaking, 1 info
  - added the pattern `^[A-Za-z]+_[a-z0-9]+$` to the `path` request parameter `id`
  - for the `path` request parameter `id`, the type/format was changed from `string`/`` to `string`/`ouid`
  - added the non-success response with the status `422`
- **2023-01-31** `e24061547d5d` — 1 info
  - added the non-success response with the status `401`

[Full history](https://skmtc.dev/otterize/apis/otterize-api-server/changes/invites/:id/get.md)

---

[API](https://skmtc.dev/otterize/apis/otterize-api-server.md) · [All operations](https://skmtc.dev/otterize/apis/otterize-api-server/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/otterize/otterize-api-server/revisions/ec9167824493/schema)
