# GET /v1/incidents/secrets/{}/invitations is deprecated

GitGuardian API deprecated GET /v1/incidents/secrets/{id}/invitations without giving a shutdown date yet.

GitGuardian API has deprecated GET /v1/incidents/secrets/{id}/invitations without a shutdown date. Calls made to this endpoint will eventually fail. GitGuardian API notes that this endpoint has been replaced.

## What to use instead

Call GET /v1/secret-incidents/{incident_id}/invitations instead.

- API: GitGuardian API (api.gitguardian.com)
- Kind: Endpoint removal
- Takes effect: no date given yet
- Calls after that day: fail
- Calls it hits: `GET /v1/incidents/secrets/{id}/invitations`
- Source: [Announcement](https://api.gitguardian.com/docs)
- Verified: November 6, 2026, against GitGuardian API's own pages
- Page: https://www.okapi.bot/providers/gitguardian-api/breaking-changes/get-v1-incidents-secrets-invitations-is-deprecated/

## GitGuardian API's words

> DEPRECATED: This endpoint has been replaced by /v1/secret-incidents/{incident_id}/invitations

Okapi finds the calls this change hits in your repo and opens the pull request with the fix: https://github.com/apps/okapi-agent
