latestOpenAPI 3.0.3GitGuardian2026-08-201871515.0 MB

511b067cdcb1

Internal Secret Incidents

List invitations with access to a secret incident

List invitations that have access to a secret incident.

get/v1/secret-incidents/{incident_id}/invitations

Path parameters

incident_idinteger required

The id of the incident to retrieve

Query parameters

cursorstring

Pagination cursor.

per_pageinteger

Number of items to list per page.

searchstring

Search invitations based on the email field.

ordering'date' | '-date'

Sort the results by their field value. The default sort is ASC, DESC if the field is preceded by a '-'.

direct_accessboolean

Filter on direct or indirect accesses.

Response

List invitations

idinteger
emailstring email
role'manager' | 'member' | 'restricted'
access_level'manager' | 'member' | 'restricted'
datestring date-time

Creation date of the invitation

Example response

[
  {
    "id": 3252,
    "email": "john.smith@example.org",
    "date": "2019-08-22T14:15:22Z"
  }
]