latestOpenAPI 3.0.3GitGuardian2026-08-201871515.0 MB

511b067cdcb1

Invitations

List invitations

This endpoint allows you to list all pending invitations.

The response contains the list of invitations and a pagination cursor to retrieve the next page.

The invitations are sorted by id.

If you are using a personal access token, you need to have an access level superior or equal to member.

get/v1/invitations

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 '-'.

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"
  }
]