AccountInvitations
Get an invitation to me
GET
Any status. Refused with 403 until the caller's email is verified, or when it was sent to another address.
Who may call it: Any signed-in user, for their own account. API keys: no.
sessioncookie
gamma.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.
id*stringOK.
application/json- response
An invitation addressed to the caller's email.
id*stringemail*stringrole*|The role it gives on accepting.
status*stringOne past expiresAt stays pending.
Value in
"pending""accepted""rejected""canceled"expiresAt*stringFormat
date-timecreatedAt*stringFormat
date-timeorganizationId*stringorganizationName*stringorganizationSlug*stringorganizationLogo*string|nullprojectId*|The project it invites to, as a guest; null for the organization itself.
projectName*|Null when not to a project, or the project is gone.
inviterName*string|nullinviterEmail*stringExample Request
curl -X GET 'http://localhost:3000/api/account/invitations/string'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"}