⭐ If you find Zipline useful, please consider giving it a star on Github! ⭐

/api/auth/invites

List all existing invite codes and their metadata (admin only).

GET/api/auth/invites

Response Body

application/json

application/json

curl -X GET "https://example.com/api/auth/invites"
[  {    "id": "string",    "createdAt": "2019-08-24T14:15:22Z",    "updatedAt": "2019-08-24T14:15:22Z",    "expiresAt": "2019-08-24T14:15:22Z",    "code": "string",    "uses": 0,    "maxUses": 0,    "inviterId": "string",    "inviter": {      "username": "string",      "id": "string",      "role": "USER"    }  }]