---
title: "List invitations having access to a Secret Incident"
method: GET
path: "/v1/incidents/secrets/{incident_id}/invitations"
tags: ["Internal Secret Incidents"]
deprecated: true
---

# List invitations having access to a Secret Incident

`GET /v1/incidents/secrets/{incident_id}/invitations`

> **Deprecated.**

List all the invitations having access to a Secret Incident.

DEPRECATED: This endpoint has been replaced by [/v1/secret-incidents/{incident_id}/invitations](#tag/Secret-Incidents/operation/list-secret-incident-invitation-access)

## Path parameters

- `incident_id` integer, required

## Query parameters

- `cursor` string
- `invitation_id` number — filter on a specific invitation id.
- `incident_permission` 'can_view' | 'can_edit' | 'full_access'

## Response `200`

List of invitation accesses

- object[]
  - `invitation_id` integer — The id of the invitation object
  - `incident_id` integer — The id of the incident object
  - `incident_permission` 'can_view' | 'can_edit' | 'full_access'

## Other responses

- `400` — Invalid data
- `401` — Invalid API key
- `403` — Permission denied
- `404` — Secret Incident not found
- `503` — API under maintenance

---

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