Gamma API

List project invitations

GET
/api/projects/{projectId}/invitations

Pending ones only, newest first.

Who may call it: Whoever manages the project: an owner, security admin or admin of its organization, or an admin of the project. API keys: no.

Authorization

session
cookiegamma.session_token<token>

The session cookie a sign-in sets. Over HTTPS its name carries the __Secure- prefix. Browsers send it on their own; other clients keep it from the sign-in response.

Path Parameters

projectId*string

The project's id.

Response Body

OK.

application/json
  1. response
invitations*array<>
Example Request
curl -X GET 'http://localhost:3000/api/projects/string/invitations'
Example Response
{  "invitations": [    {      "id": "string",      "email": "string",      "status": "string",      "expiresAt": "2019-08-24T14:15:22Z",      "createdAt": "2019-08-24T14:15:22Z",      "inviterName": "string"    }  ]}