Gamma API

List my invitations

GET
/api/account/invitations

Every invitation sent to the caller's email for the people of the caller's region, any status, newest first. Refused with 403 until that email is verified.

Who may call it: Any signed-in user, for their own account. API keys: no.

Authorization

session
cookiegamma.session_token<token>

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

Response Body

OK.

application/json
  1. response
[index: integer]?

An invitation addressed to the caller's email.

Example Request
curl -X GET 'http://localhost:3000/api/account/invitations'
Example Response
[  {    "id": "string",    "email": "string",    "role": "string",    "status": "pending",    "expiresAt": "2019-08-24T14:15:22Z",    "createdAt": "2019-08-24T14:15:22Z",    "organizationId": "string",    "organizationName": "string",    "organizationSlug": "string",    "organizationLogo": "string",    "projectId": "string",    "projectName": "string",    "inviterName": "string",    "inviterEmail": "string"  }]